oso icon indicating copy to clipboard operation
oso copied to clipboard

Support `AsyncSession` (SQLAlchemy 1.4/2.0) in `sqlalchemy-oso`

Open leina05 opened this issue 4 years ago • 3 comments

sqlalchemy-oso library doesn't support using AsyncSession.

This was raised in several Slack threads: https://oso-oss.slack.com/archives/C017KSBTD4M/p1633542348030700

leina05 avatar Oct 06 '21 18:10 leina05

Issue tracking general support for async Python: #1295

gj avatar Oct 19 '21 18:10 gj

Our team is also trying to use oso with sqlalchemy async orm. Now just work around by using oso (not sqlalchemy-oso). It will be great if this feature support

jneo8 avatar Nov 19 '21 08:11 jneo8

I'm using asyncpg in one of my main backends, so I'm unable to fully use Oso now. If you want tests or insights, feel free to mark me in new issues. I may be able to help with a couple of PR as well.

ayr-ton avatar Feb 24 '22 13:02 ayr-ton