@contextmanager
def replace_loop(new_loop):

    # setup
    orig = txaio.config.loop
    txaio.config.loop = new_loop

    yield new_loop

    # cleanup
    txaio.config.loop = orig
Creates the SQL snippet for a column. Used by add_column and add_table.
dataset/ETHPy150Open crossbario/txaio/txaio/testutil.py/replace_loop--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/South-1.0.2/south/db/firebird.py/DatabaseOperations.column_sql