def run_migrations_offline():
    context.configure(
        url=engine.url
    )

    with context.begin_transaction():
        context.run_migrations()
Run migrations in 'offline' mode.
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/db/migration/alembic_migrations/env.py/run_migrations_offline