Module ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias Import alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str ImportFrom alias Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr attr FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr keyword NameLoad With Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body If Call NameLoad AttributeLoad NameLoad attr Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num If Call AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Slice ListLoad Expr Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr TryFinally body With Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr finalbody 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 alembic context sqlalchemy engine_from_config pool logging.config fileConfig N/A logging N/A config N/A context config N/A sqlalchemy_logger N/A N/A logging getLogger sqlalchemy N/A N/A N/A sqlalchemy_logger level N/A logging NOTSET N/A N/A N/A N/A sqlalchemy_logger setLevel N/A logging WARN N/A alembic_logger N/A N/A logging getLogger alembic N/A N/A N/A alembic_logger level N/A logging NOTSET N/A N/A N/A N/A alembic_logger setLevel N/A logging INFO N/A logger N/A N/A logging getLogger alembic.env flask current_app N/A N/A N/A config set_main_option sqlalchemy.url N/A N/A N/A current_app config get SQLALCHEMY_DATABASE_URI N/A target_metadata N/A N/A N/A N/A current_app extensions N/A migrate db metadata 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 config get_main_option sqlalchemy.url N/A N/A N/A context configure url url 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.

     process_revision_directives N/A N/A context revision directives N/A N/A N/A N/A getattr N/A config cmd_opts autogenerate False N/A N/A script N/A directives N/A 0 N/A N/A N/A N/A script upgrade_ops is_empty N/A N/A N/A directives N/A N/A N/A N/A N/A logger info No changes in schema detected. N/A N/A engine N/A engine_from_config N/A N/A config get_section N/A config config_ini_section prefix sqlalchemy. poolclass N/A pool NullPool N/A connection N/A N/A engine connect N/A N/A N/A context configure connection connection target_metadata target_metadata process_revision_directives process_revision_directives N/A N/A N/A current_app extensions N/A migrate configure_args N/A N/A 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 connection close 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