Open shtlrs opened 3 months ago
It would, and sqlachemy
nowadays can do asynchronous stuff as well (it didn't when the models were written in pinnwand
).
The main issue i see with this is click.
Since it does not offer async support, we'd basically need to have to sort of packages for db related stuff, one sync and one async It is either that or we will need to write some wrapper for click that it will enable it to run in an asynchronous context.
What is the issue you see with click
? It's only involved before we actually start an event loop right?
It'd be ideal to use an async driver to fetch data from the database, that'll work well with the async coroutines of tornado's handlerS.