Open ricardo17coelho opened 2 years ago
the same challenge here, it seems that it's not working properly using async sqlalchemy.
Any progress?
Bump!
What helpped me was this. So, it does work with Async, don't have any issues yet or not tested everything 😄 :
make_versioned(user_cls=None)
Base: Type[DeclarativeMeta] = declarative_base()
All the needed tables were created: event_categories event_categories_version transaction
configure_mappers()
await async_connection.run_sync(Base.metadata.drop_all)
await async_connection.run_sync(Base.metadata.create_all)
Hope it will help someone!
Hi everyone!
Can someone provide a example how it works with AsyncSession ? Thx 🙏