def run_migrations_offline():
    url = config.get_main_option("sqlalchemy.url")
    context.configure(url=url)

    with context.begin_transaction():
        context.run_migrations()
Autofill config by metadata self section.
dataset/ETHPy150Open limodou/uliweb/uliweb/contrib/orm/templates/alembic/env.py/run_migrations_offline--crossover with--dataset/ETHPy150Open openstack/compass-core/compass/db/api/metadata_holder.py/_autofill_self_config