Skip to content

Commit 99b9d3a

Browse files
committed
Try explicitly importing asyncpg dialect
1 parent 1916742 commit 99b9d3a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/gino.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
from starlette.exceptions import HTTPException
1818
from starlette.types import Receive, Scope, Send
1919

20+
# Explicitly import the asyncpg dialect to ensure it's registered with SQLAlchemy
21+
import gino.dialects.asyncpg # noqa: F401
22+
2023
logger = logging.getLogger("gino.ext.starlette")
2124

2225

0 commit comments

Comments
 (0)