Closed cbornet closed 8 months ago
One thing not nice is that a blocking db_setup() is done in BaseTable's constructor. And it is really bad to block in the event loop. So async tables shall be created with skip_provisionning=True atm
skip_provisionning=True
So async tables shall be created with skip_provisionning=True atm
Added is_async param to contructor that will spawn an async task to setup the db.
is_async
LGTM
One thing not nice is that a blocking db_setup() is done in BaseTable's constructor. And it is really bad to block in the event loop. So async tables shall be created with
skip_provisionning=True
atm