We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e130c5d commit bc4c976Copy full SHA for bc4c976
1 file changed
psqlpy_sqlalchemy/dialect.py
@@ -6,6 +6,7 @@
6
from sqlalchemy import URL, util
7
from sqlalchemy.dialects.postgresql.base import INTERVAL, PGDialect
8
from sqlalchemy.dialects.postgresql.json import JSONPathType
9
+from sqlalchemy.pool import NullPool
10
from sqlalchemy.sql import operators, sqltypes
11
from sqlalchemy.sql.functions import GenericFunction
12
@@ -201,6 +202,7 @@ class _PGNullType(sqltypes.NullType):
201
202
class PSQLPyAsyncDialect(PGDialect):
203
driver = "psqlpy"
204
is_async = True
205
+ poolclass = NullPool
206
207
execution_ctx_cls = PGExecutionContext_psqlpy
208
supports_statement_cache = True
0 commit comments