def post(self, request, response): actual_post = lambda req, rep: self._post(req, rep) return AbstractEndpointPropMapBackend.post(self, request, response, actual_post)
def __init__(self, config, networkmaps=set(), urls={}): AbstractEndpointPropMapBackend.__init__(self, config) self.prop_urls = {pid_capability(nm): urls[nm] for nm in networkmaps} self.networkmaps = networkmaps self.urls = urls