From: Denis Laxalde Date: Mon, 10 Jan 2022 09:39:13 +0000 (+0100) Subject: Drop mention of backend selection for AsyncHTTPTransport() in docs (#2019) X-Git-Tag: 0.22.0~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3eaf69a7723369958a36ecd2f3f67db226137545;p=thirdparty%2Fhttpx.git Drop mention of backend selection for AsyncHTTPTransport() in docs (#2019) There is no 'backend' parameter to AsyncHTTPTransport and it seems that the backend is detected automatically for anyio as it is for other async libraries. --- diff --git a/docs/async.md b/docs/async.md index 1b3506c1..09d2940b 100644 --- a/docs/async.md +++ b/docs/async.md @@ -207,12 +207,6 @@ async def main(): anyio.run(main, backend='trio') ``` -When instantiating a transport instance explicitly, for maximum consistency, the same `backend` parameter can be passed to `AsyncHTTPTransport`. -```python -transport = httpx.AsyncHTTPTransport(backend="trio") -``` - - ## Calling into Python Web Apps Just as `httpx.Client` allows you to call directly into WSGI web applications,