def send_deferred(self, auth):
        """Send all deferred requests for a particular CIK/auth."""
        if self.deferred.has_requests(auth):
            method_arg_pairs = self.deferred.get_method_args_pairs(auth)
            calls = self._composeCalls(method_arg_pairs)
            # should this call be made with no timeout? (e.g. is there a
            # wait())
            notimeout = self.deferred.get_notimeout(auth)
            try:
                r = self._callJsonRPC(auth, calls, returnreq=True, notimeout=notimeout)
            finally:
                # remove deferred calls
                self.deferred.reset(auth)
            return r
        raise JsonRPCRequestException('No deferred requests to send.')
def send_deferred ( self , auth ) : if self . deferred . has_requests ( auth ) : method_arg_pairs = self . deferred . get_method_args_pairs ( auth ) calls = self . _composeCalls ( method_arg_pairs ) notimeout = self . deferred . get_notimeout ( auth ) try : r = self . _callJsonRPC ( auth , calls , returnreq = True , notimeout = notimeout ) finally : self . deferred . reset ( auth ) return r raise JsonRPCRequestException ( 'No deferred requests to send.' )
Send all deferred requests for a particular CIK/auth.