diff options
author | Yomain <40139584+yo-main@users.noreply.github.com> | 2022-11-02 21:44:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-02 21:44:30 +0100 |
commit | 66e591cf8a5de6d5dabdecf2bb279dec90962e15 (patch) | |
tree | 8fc0b87fa6baa870bd6d90e1df744a95c68a495a /lib/sqlalchemy/ext/asyncio/session.py | |
parent | 8cdbd7ce21cf6abe67d209271c110243bcd9da27 (diff) | |
download | sqlalchemy-66e591cf8a5de6d5dabdecf2bb279dec90962e15.tar.gz |
correct typo in async postgresql uri (#8736)
Diffstat (limited to 'lib/sqlalchemy/ext/asyncio/session.py')
-rw-r--r-- | lib/sqlalchemy/ext/asyncio/session.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/ext/asyncio/session.py b/lib/sqlalchemy/ext/asyncio/session.py index b38574dc8..e17b729bf 100644 --- a/lib/sqlalchemy/ext/asyncio/session.py +++ b/lib/sqlalchemy/ext/asyncio/session.py @@ -1408,7 +1408,7 @@ class async_sessionmaker(Generic[_AS]): async def main(): # an AsyncEngine, which the AsyncSession will use for connection # resources - engine = create_async_engine('postgresql+asycncpg://scott:tiger@localhost/') + engine = create_async_engine('postgresql+asyncpg://scott:tiger@localhost/') AsyncSession = async_sessionmaker(engine) |