]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Add thread-safety note on the `Client` docstring (#2380)
authorMarcelo Trylesinski <marcelotryle@gmail.com>
Thu, 29 Sep 2022 10:09:11 +0000 (12:09 +0200)
committerGitHub <noreply@github.com>
Thu, 29 Sep 2022 10:09:11 +0000 (12:09 +0200)
httpx/_client.py

index 722735c195221f257b6d81cec52f11d274df71fe..6479ea712f5315984d396d3c6e1cc1006c576e6a 100644 (file)
@@ -574,6 +574,8 @@ class Client(BaseClient):
     """
     An HTTP client, with connection pooling, HTTP/2, redirects, cookie persistence, etc.
 
+    It can be shared between threads.
+
     Usage:
 
     ```python