Skip to content

Commit bc4c976

Browse files
author
Eugene Shershen
committed
fix
1 parent e130c5d commit bc4c976

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

psqlpy_sqlalchemy/dialect.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from sqlalchemy import URL, util
77
from sqlalchemy.dialects.postgresql.base import INTERVAL, PGDialect
88
from sqlalchemy.dialects.postgresql.json import JSONPathType
9+
from sqlalchemy.pool import NullPool
910
from sqlalchemy.sql import operators, sqltypes
1011
from sqlalchemy.sql.functions import GenericFunction
1112

@@ -201,6 +202,7 @@ class _PGNullType(sqltypes.NullType):
201202
class PSQLPyAsyncDialect(PGDialect):
202203
driver = "psqlpy"
203204
is_async = True
205+
poolclass = NullPool
204206

205207
execution_ctx_cls = PGExecutionContext_psqlpy
206208
supports_statement_cache = True

0 commit comments

Comments
 (0)