You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* origin/pr/820:
Fix mypy error my creating a Task
Short loop.run_in_executor with asyncio.to_thread
Pull request description:
Doesn't require:
- finding the loop as it uses the default;
- passing "None" as executor as it uses the default;
- using partial to pass kwargs
---
~Didn't test at all~, but would be nice to use a shorter version, since we are not using the full capabilities of the executor, a wrapper is easier to read. If you look at `asyncio/threads.py`, it's just calling `loop.run_in_executor`.
Edit: tested manually the preloaded disposable early request before qmemman finishes and watching the logs. Didn't run integration tests, and that would be appropriate for the different files I changed.
0 commit comments