From: Marcelo Trylesinski Date: Thu, 29 Sep 2022 10:09:11 +0000 (+0200) Subject: Add thread-safety note on the `Client` docstring (#2380) X-Git-Tag: 0.23.1~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdde07f2aa3db1e0eab6d421e829529c272135d5;p=thirdparty%2Fhttpx.git Add thread-safety note on the `Client` docstring (#2380) --- diff --git a/httpx/_client.py b/httpx/_client.py index 722735c1..6479ea71 100644 --- a/httpx/_client.py +++ b/httpx/_client.py @@ -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