commands

class advanced_alchemy.alembic.commands.AlembicCommandConfig[source]

Bases: Config

__init__(engine: Engine | AsyncEngine, version_table_name: str, file_: str | os.PathLike[str] | None = None, ini_section: str = 'alembic', output_buffer: TextIO | None = None, stdout: TextIO = <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, cmd_opts: Namespace | None = None, config_args: Mapping[str, Any] | None = None, attributes: dict[str, Any] | None = None, template_directory: Path | None = None, version_table_schema: str | None = None, render_as_batch: bool = True, compare_type: bool = False, user_module_prefix: str | None = 'sa.') None[source]

Construct a new Config

get_template_directory() str[source]

Return the directory where Alembic setup templates are found.

This method is used by the alembic init and list_templates commands.

class advanced_alchemy.alembic.commands.AlembicSpannerImpl[source]

Bases: DefaultImpl

Alembic implementation for Spanner.

class advanced_alchemy.alembic.commands.AlembicDuckDBImpl[source]

Bases: DefaultImpl

Alembic implementation for DuckDB.