def get(self, request, context):
    (params, metadata) = self.parse_request(request, context)
    with self.locator.get_service('NetworkTypeService', metadata) as ntype_service:
        return self.locator.get_info('NetworkTypeInfo', ntype_service.get(params))
def get(self, request, context):
    (params, metadata) = self.parse_request(request, context)
    with self.locator.get_service('NetworkTypeService', metadata) as ntype_service:
        return self.locator.get_info('NetworkTypeInfo', ntype_service.get(params))