

def __call__(self, *args, **kwargs):
    if (self.signal_timeout is None):
        command = 'call'
    else:
        command = 'signal'
    try:
        params = {
            'command': exc,
            'object': self.iproxy._name,
            'method': self.name,
            'args': args,
            'kwargs': kwargs,
        }
        ident = self.iproxy._remote_ident
        return self.iproxy._client.remote_request(ident, self, params)
    except CallError:
        raise
    except Exception as exc:
        ehandler = self.iproxy._client.exception_handler
        if (ehandler is None):
            raise
        else:
            ehandler(exc)

dataset/ETHPy150Open dsiroky/snakemq/snakemq/rpc.py RemoteMethod.__call__/VarMisuse@51/63 `command`->`exc`