def _extract_network_label(self, interface):
        try:
            return interface['network']['label']
        except (__HOLE__, KeyError) as exc:
            raise TypeError
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/api/openstack/views/addresses.py/ViewBuilderV11._extract_network_label