def lookup(self, service, **kwargs):
        service_name = service.name
        try:
            instances = self.registry[service_name]
            for data in instances:
                service.update(data.get('id'), **data)
        except __HOLE__:
            raise LookupFailure()
        return service
dataset/ETHPy150Open deliveryhero/lymph/lymph/discovery/static.py/StaticServiceRegistryHub.lookup