

def _port_query_hook(self, context, original_model, query):
    if self.model_query_scope(context, original_model):
        query = query.outerjoin(models_v2.Network)
    return query

dataset/ETHPy150Open openstack/neutron/neutron/db/db_base_plugin_common.py DbBasePluginCommon._port_query_hook/original