-
Notifications
You must be signed in to change notification settings - Fork 670
WIP: migrate to asyncio and httpx #998
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
Conversation
convert more functions to async and add a async_ prefix for them add sync functions for the async ones
fix typo in v4/objects.py add a async __setup__ to call after init is run
at the moment the httpx module dose not support |
Thanks for all the efforts on this. Maybe we should wait until the 1.0 release of https in April?
|
yeah probably hopefully they fix the two issues that are blocking this pr |
Sorry, something went wrong.
Can you check if httpx version 1.0.0.beta0 fixes the remaining issues? |
No activity in almost two years from the author. Closing. |
starting to migrate to async while staying compatible to the syncronous versions.
TODO:
which funktions are suposed to be called by the user? if possible i would like to keep all internal funktions async and run the functions that have to be sync with
run_until_complete()
would it be better to have a centrel event_loop instead of getting it with
get_event_loop
every time and if so where would i put it?fix #945