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
asyncutils.py:60: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
result = await asyncio.wait_for(
In asyncio, the explicit passing of a loop argument has been deprecated and will be removed in version 3.10 for the following: asyncio.sleep(), asyncio.gather(), asyncio.shield(), asyncio.wait_for(), asyncio.wait(), asyncio.as_completed(), asyncio.Task, asyncio.Lock, asyncio.Event, asyncio.Condition, asyncio.Semaphore, asyncio.BoundedSemaphore, asyncio.Queue, asyncio.create_subprocess_exec(), and asyncio.create_subprocess_shell(). https://docs.python.org/3/whatsnew/3.8.html
Solution is simply to remove the loop from:
result = await asyncio.wait_for(
self._worker_co(*args, **kwargs),
self._max_task_time,
)
The text was updated successfully, but these errors were encountered:
calidog is MIA and I wrote most of this code, I have a fork: https://github.com/thehesiod/asyncpool feel free to log there and I can update. We'll have to come up with the pypi package name though ;)
In asyncio, the explicit passing of a loop argument has been deprecated and will be removed in version 3.10 for the following: asyncio.sleep(), asyncio.gather(), asyncio.shield(), asyncio.wait_for(), asyncio.wait(), asyncio.as_completed(), asyncio.Task, asyncio.Lock, asyncio.Event, asyncio.Condition, asyncio.Semaphore, asyncio.BoundedSemaphore, asyncio.Queue, asyncio.create_subprocess_exec(), and asyncio.create_subprocess_shell().
https://docs.python.org/3/whatsnew/3.8.html
Solution is simply to remove the loop from:
The text was updated successfully, but these errors were encountered: