

def get_context_data(self, request):
    policy_id = self.tab_group.kwargs['service_policy_id']
    try:
        policy = client.get_networkservice_policy(policy_id, policy_id)
    except Exception:
        exceptions.handle(request, _('Unable to retrieve service policy details.'), redirect=self.failure_url)
    return {
        'policy': policy,
    }

dataset/ETHPy150Open openstack/group-based-policy-ui/gbpui/panels/network_policy/tabs.py ServicePolicyDetailsTab.get_context_data/VarMisuse@33/49 `request`->`policy_id`