

def get_service_policy_table_data(self):
    policies = []
    try:
        policies = client.networkservicepolicy_list(x.request, tenant_id=self.request.user.tenant_id)
        update = (lambda x: gfilters.update_service_policy_attributes(x))
        policies = [update(item) for item in policies]
    except Exception:
        exceptions.handle(self.tab_group.request, _('Unable to retrieve network service policy list.'))
    return policies

dataset/ETHPy150Open openstack/group-based-policy-ui/gbpui/panels/network_policy/tabs.py ServicePolicyTab.get_service_policy_table_data/VarMisuse@25/37 `self`->`x`