You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 19, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 19, 2025. It is now read-only.
Consider deprecating (or at least downplaying) the notion of a "default driver" #421
Consider moving away from the notion of a "default driver" and encourage users to specify the driver that they actually want to use. In #382 it is asyncmy vs. aiomysql, but with the release of psycopg 3.x is it also an issue for PostgreSQL since the new driver also supports async (so asyncpg vs. psycopg).
We are having a similar discussion for SQLAlchemy:
@gordthompson
I think that makes sense.
Now that the drivers are being extended, I think keeping that can be limiting and our changes to that won't be backwards-compatible, so I'd rather drop them sooner.
Hi @aminalaee - Feel free to run with this if you like. SQLAlchemy 1.4+ supports async directly and my primary goal was to provide async support for the CockroachDB dialect so I took that approach
Activity
aminalaee commentedon Nov 8, 2021
@gordthompson
I think that makes sense.
Now that the drivers are being extended, I think keeping that can be limiting and our changes to that won't be backwards-compatible, so I'd rather drop them sooner.
aminalaee commentedon Dec 1, 2021
@gordthompson Have you had any progress with this? I can pick that up.
gordthompson commentedon Dec 2, 2021
Hi @aminalaee - Feel free to run with this if you like. SQLAlchemy 1.4+ supports async directly and my primary goal was to provide async support for the CockroachDB dialect so I took that approach
https://github.com/gordthompson/fastapi-tutorial-cockroachdb-async
There is also a related POC for
sqlite+aiosqliteathttps://github.com/gordthompson/fastapi-tutorial-aiosqlite