This repository was archived by the owner on Aug 19, 2025. It is now read-only.
Replies: 1 comment
-
|
My suggestion (#291) was to improve the documentation, but if you have no idea how to do this/don't support this, you can just say so. I can use another package 😄 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If I want to run a long operation, I would want to do it in a thread to not block the async event-loop. asyncio provides
run_in_executor()for exactly this. However, it is not clear whether mydatabases.Databaseobject is safe to use in the thread, and whether there is something I can do to make it work (short of creating a brand newsa.Engineandsa.Connectionwith SQLAlchemy from the original URL. Or maybe onesa.Enginefor the whole thread pool?)Beta Was this translation helpful? Give feedback.
All reactions