def _run_request(self, request, notify=None): history.add_request(request) print("send:>> ", request) #gwj self.__sock.sendall(request) response = self._recv() if not 'result' in response.keys(): response = self._recv() return_obj = response return return_obj response = self.__transport.request(self.__host, self.__handler, request, verbose=self.__verbose) # Here, the XMLRPC library translates a single list # response to the single value -- should we do the # same, and require a tuple / list to be passed to # the response object, or expect the Server to be # outputting the response appropriately? history.add_response(response) if not response: return None return_obj = loads(response) return return_obj
def _run_request(self, request, notify=None): history.add_request(request) print("send:>> ", request)#gwj self.__sock.sendall(request) response = self._recv() if not 'result' in response.keys(): response = self._recv() return_obj=response return return_obj response = self.__transport.request( self.__host, self.__handler, request, verbose=self.__verbose ) # Here, the XMLRPC library translates a single list # response to the single value -- should we do the # same, and require a tuple / list to be passed to # the response object, or expect the Server to be # outputting the response appropriately? history.add_response(response) if not response: return None return_obj = loads(response) return return_obj
def _run_request(self, request, notify=None): history.add_request(request) response = self.__transport.request( self.__host, self.__handler, request, verbose=self.__verbose ) # Here, the XMLRPC library translates a single list # response to the single value -- should we do the # same, and require a tuple / list to be passed to # the response object, or expec