summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/ext/asyncio/session.py
diff options
context:
space:
mode:
authorYomain <40139584+yo-main@users.noreply.github.com>2022-11-02 21:44:30 +0100
committerGitHub <noreply@github.com>2022-11-02 21:44:30 +0100
commit66e591cf8a5de6d5dabdecf2bb279dec90962e15 (patch)
tree8fc0b87fa6baa870bd6d90e1df744a95c68a495a /lib/sqlalchemy/ext/asyncio/session.py
parent8cdbd7ce21cf6abe67d209271c110243bcd9da27 (diff)
downloadsqlalchemy-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.py2
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)