0b7a4d16af
In Python < 3.11, when passing a coroutine to asyncio.wait, it would automatically be scheduled as a task. This isn't the case anymore with Python 3.11. Now passing coroutines to asyncio.wait fails with: TypeError: Passing coroutines is forbidden, use tasks explicitly. Let's ensure we schedule the coroutines as tasks before passing them on to asyncio.wait. Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com> |
||
---|---|---|
.. | ||
tests | ||
__init__.py | ||
network.py |