Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AnyIO is missing in "Supported async environments" #1419

Closed
florimondmanca opened this issue Dec 5, 2020 · 0 comments · Fixed by #1673
Closed

AnyIO is missing in "Supported async environments" #1419

florimondmanca opened this issue Dec 5, 2020 · 0 comments · Fixed by #1673
Labels
docs Changes to the documentation good first issue Good for newcomers

Comments

@florimondmanca
Copy link
Member

HTTPCore has support for anyio, but we don't document it yet: https://www.python-httpx.org/async/#supported-async-environments

IMO there are two things to document:

  • HTTPX can work with programs that run under anyio, since it'll auto-detect the async environment and use the one set by anyio.
  • For maximum consistency, HTTPCore can be told to use anyio internally by passing backend="anyio" when instantiating a transport. (Related to Add HTTPTransport and AsyncHTTPTransport #1399)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Changes to the documentation good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant