Module ImportFrom alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Import alias Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body If BoolOpAnd CompareEq NameLoad Str CompareEq AttributeLoad NameLoad attr Str body Return NameLoad If BoolOpAnd CompareEq NameLoad Str UnaryOpNot CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad With Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameStore body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad With Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list If Call AttributeLoad NameLoad attr body Expr Call NameLoad orelse Expr Call NameLoad
N/A __future__ with_statement N/A os alembic context sqlalchemy engine_from_config pool logging.config fileConfig N/A config N/A context config N/A N/A fileConfig N/A config config_file_name N/A acoustid.tables N/A target_metadata N/A N/A acoustid tables metadata N/A acoustid.config N/A acoustid_config N/A N/A N/A acoustid config Config N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ .. acoustid.conf include_object N/A N/A obj name type reflected compare_to N/A N/A N/A N/A N/A type table N/A N/A obj schema musicbrainz N/A N/A False N/A N/A N/A type column N/A N/A N/A N/A obj table schema musicbrainz N/A N/A False N/A True N/A run_migrations_offline N/A N/A N/A N/A N/A Run migrations in 'offline' mode.

    This configures the context with just a URL
    and not an Engine, though an Engine is acceptable
    here as well.  By skipping the Engine creation
    we don't even need a DBAPI to be available.

    Calls to context.execute() here emit the given string to the
    script output.

     N/A url N/A N/A N/A acoustid_config database create_url N/A N/A N/A context configure url url target_metadata target_metadata literal_binds True include_object include_object N/A N/A N/A context begin_transaction N/A N/A N/A N/A context run_migrations N/A run_migrations_online N/A N/A N/A N/A N/A Run migrations in 'online' mode.

    In this scenario we need to create an Engine
    and associate a connection with the context.

     N/A connectable N/A N/A N/A acoustid_config database create_engine poolclass N/A pool NullPool N/A N/A N/A connectable connect connection N/A N/A N/A N/A context configure connection connection target_metadata target_metadata include_object include_object N/A N/A N/A context begin_transaction N/A N/A N/A N/A context run_migrations N/A N/A N/A N/A context is_offline_mode N/A N/A N/A run_migrations_offline N/A N/A N/A run_migrations_online