-
Is it possible to use ormar models in sync code? for example alembic migration functions. i know it uses sqlalchemy under the hood, so perhaps I can access the sqlalchemy model somehow? |
Beta Was this translation helpful? Give feedback.
Answered by
collerek
Jul 28, 2022
Replies: 1 comment
-
You can use them in the alembic (there are dock about this) and you can wrap the async task to run in sync code. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
cmflynn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use them in the alembic (there are dock about this) and you can wrap the async task to run in sync code.