

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

dataset/ETHPy150Open openstack/group-based-policy-ui/gbpui/panels/network_policy/tabs.py L3PolicyDetailsTab.get_context_data/original