

def _get_network(self, context, id):
    try:
        network = context._get_by_id(context, models_v2.Network, id)
    except exc.NoResultFound:
        raise n_exc.NetworkNotFound(net_id=id)
    return network

dataset/ETHPy150Open openstack/neutron/neutron/db/db_base_plugin_common.py DbBasePluginCommon._get_network/VarMisuse@20/24 `self`->`context`