def __call__(self, *args, **kwargs): """Invoke the method.""" clientclass = self.clientclass(kwargs) client = clientclass(self.client, self.method) try: return client.invoke(args, kwargs) except WebFault as e: if self.faults(): raise return http.client.INTERNAL_SERVER_ERROR, e
def __call__(self, *args, **kwargs): """Invoke the method.""" clientclass = self.clientclass(kwargs) client = clientclass(self.client, self.method) try: return client.invoke(args, kwargs) except WebFault as e: if self.faults(): raise return http.client.INTERNAL_SERVER_ERROR, e