leaguemanager.db.cli.alembic_cli¶
Module Contents¶
Functions¶
Passes SQLAlchemy configuration to the Click database group within Advanced Alchemy. |
Data¶
API¶
- leaguemanager.db.cli.alembic_cli.settings¶
‘get_settings(…)’
- leaguemanager.db.cli.alembic_cli.app¶
‘Typer(…)’
- leaguemanager.db.cli.alembic_cli._configs¶
[]
- leaguemanager.db.cli.alembic_cli._app(ctx: typer.Context)¶
Passes SQLAlchemy configuration to the Click database group within Advanced Alchemy.
The SQLAlchemySyncConfig and SQLAlchemyAsyncConfig classes that are defined elsewhere are imported here and passed through the Click context. The configuration is accessed by the Advanced Alchemy migration commands.
Args: ctx (typer.Context): The Click context.
- leaguemanager.db.cli.alembic_cli.click_group¶
‘get_command(…)’
- leaguemanager.db.cli.alembic_cli.db_app¶
‘add_migration_commands(…)’