def run_migrations_offline():
    set_mysql_engine()

    kwargs = dict()
    if neutron_config.database.connection:
        kwargs['url'] = neutron_config.database.connection
    else:
        kwargs['dialect_name'] = neutron_config.database.engine
    kwargs['include_object'] = include_object
    context.configure(**kwargs)

    with context.begin_transaction():
        context.run_migrations()
Get a TCP port from a reactor, wrapping an already-initialized file
dataset/ETHPy150Open openstack/neutron/neutron/db/migration/alembic_migrations/env.py/run_migrations_offline--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/internet/test/test_tcp.py/SocketTCPMixin.getListeningPort