Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-48408: Fix documentation of database initialization #365

Merged
merged 1 commit into from
Jan 14, 2025
Merged

Conversation

rra
Copy link
Member

@rra rra commented Jan 14, 2025

Avoid using the run_with_asyncio decorator for the init command-line command, since Alembic doesn't like to run inside an existing event loop. Instead, recommend using an async helper function and asyncio.run from the start so that adding Alembic support is simple.

Avoid using the `run_with_asyncio` decorator for the init command-line
command, since Alembic doesn't like to run inside an existing event
loop. Instead, recommend using an async helper function and
`asyncio.run` from the start so that adding Alembic support is simple.
@rra rra changed the title Fix documentation of database initialization DM-48408: Fix documentation of database initialization Jan 14, 2025
@rra rra requested a review from jonathansick January 14, 2025 00:32
Copy link
Member

@jonathansick jonathansick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks for the update.

@rra rra merged commit 99283f3 into main Jan 14, 2025
7 checks passed
@rra rra deleted the tickets/DM-48408 branch January 14, 2025 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants