def __getattr__(self, name):
        """Wrapper for python magic to turn method calls into RPC calls."""

        def rpc_call(*args):
            return self._rpc(name, *args)

        return rpc_call
def __getattr__ ( self , name ) : def rpc_call ( * args ) : return self . _rpc ( name , * args ) return rpc_call
Wrapper for python magic to turn method calls into RPC calls.