

def _get_subnetpool(self, context, id):
    try:
        return context._get_by_id(context, models_v2.SubnetPool, id)
    except exc.NoResultFound:
        raise exceptions.SubnetPoolNotFound(subnetpool_id=id)

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