python-gino / gino

GINO Is Not ORM - a Python asyncio ORM on SQLAlchemy core.
https://python-gino.org/
Other
2.68k stars 150 forks source link

Attempt to be compatible with synchronous event callbacks #703

Open wwwjfy opened 4 years ago

wwwjfy commented 4 years ago

based on #702, refs #691, a hacky fix

Honestly, Gino doesn't have to support table creation/deletion, as this can go farther, like requests of async version of Alembic, though it can be done in another package.

fantix commented 4 years ago

Right - the schema.py will be completely removed in GINO 1.4, replaced by a very simple bridge:

https://github.com/python-gino/gino/blob/8c888bd6abe0e877602d55aff33d2f67c9cbcd03/src/gino/api.py#L213-L227