def run_migrations_online():
    options = context.config.get_section(context.config.config_ini_section)
    url = options.pop("url")
    engine = create_engine(url, poolclass=pool.NullPool)

    connection = engine.connect()
    context.configure(connection=connection, target_metadata=db.metadata)

    try:
        with context.begin_transaction():
            context.run_migrations()
    finally:
        connection.close()
log always
dataset/ETHPy150Open pypa/warehouse/warehouse/migrations/env.py/run_migrations_online--crossover with--dataset/ETHPy150Open ioflo/ioflo/ioflo/base/logging.py/Log.always