def __getattr__(self, name):
def method(*args):<EOL><INDENT>query = {"<STR_LIT>": name, "<STR_LIT>": args, "<STR_LIT>": "<STR_LIT>", "<STR_LIT:id>": <NUM_LIT:0>}<EOL>r = self.rpcexec(query)<EOL>return r<EOL><DEDENT>return method<EOL>
Map all methods to RPC calls and pass through the arguments