def validate_config(session, config, id_name, id_value, patch=True):
    if id_name not in MAPPER.keys():
        return (False, "Invalid id type %s" % id_name)

    meta_table = MAPPER[id_name]['metaTable']
    metafield_table = MAPPER[id_name]['metaFieldTable']
    with session.begin(subtransactions=True):
        name_col = name_col = getattr(meta_table, 'name')
        id_col = getattr(meta_table, id_name)

        return _validate_config_helper(session, config,
                                       name_col, id_col, id_value,
                                       meta_table, metafield_table,
                                       patch)
Start the SSL shutdown sequence.
dataset/ETHPy150Open openstack/compass-core/compass/db/config_validation/default_validator.py/validate_config--crossover with--dataset/ETHPy150Open python/asyncio/asyncio/sslproto.py/_SSLPipe.shutdown