RazerM/sqlalchemy_aio

DeprecationWarning on python 3.9 and above: loop argument

mattgodbolt opened this issue · 1 comments

In Python3.9, using sqlalchemy_aio gives the following warning:

  .../lib/python3.9/site-packages/sqlalchemy_aio/asyncio.py:22: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
    self._request_queue = asyncio.Queue(1, loop=loop)

def __init__(self, loop=None, *, branch_from=None):

Seems the loop argument is going away entirely; which is likely to become more of a problem with Python 3.10 :)