@property<EOL><INDENT>def rpc(self):<DEDENT>
class RPC:<EOL><INDENT>def _load(self, name):<EOL><INDENT>with open(<EOL>os.path.join(os.path.dirname(__file__), "<STR_LIT>")<EOL>) as fid:<EOL><INDENT>d = yaml.safe_load(fid)<EOL><DEDENT>return d.get(name)<EOL><DEDENT>def get_objects(self, ids, *args, **kwargs):<EOL><INDENT>return [self.get_object(x) for x in ids]<EOL><DEDENT>def get_object(self, id, *args, **kwargs):<EOL><INDENT>return get_object(id)<EOL><DEDENT>def get_account_history(self, *args, **kwargs):<EOL><INDENT>with open(<EOL>os.path.join(<EOL>os.path.dirname(__file__), "<STR_LIT>"<EOL>)<EOL>) as fid:<EOL><INDENT>history = yaml.safe_load(fid)<EOL>return history<EOL><DEDENT><DEDENT>def get_account_balances(self, account, *args, **kwargs):<EOL><INDENT>return [{"<STR_LIT>": "<STR_LIT>", "<STR_LIT>": <NUM_LIT>}]<EOL><DEDENT>def lookup_account_names(self, name, **kwargs):<EOL><INDENT>return [None]<EOL><DEDENT>def get_all_workers(self):<EOL><INDENT>return self._load("<STR_LIT>")<EOL><DEDENT>def get_workers_by_account(self, name):<EOL><INDENT>return [self._load("<STR_LIT>")[<NUM_LIT:0>]]<EOL><DEDENT>def get_dynamic_global_properties(self):<EOL><INDENT>return {<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": <NUM_LIT>,<EOL>}<EOL><DEDENT>def __getattr__(self, name):<EOL><INDENT>def fun(self, *args, **kwargs):<EOL><INDENT>return {}<EOL><DEDENT>return fun<EOL><DEDENT><DEDENT>return RPC()<EOL>
We are patching rpc similar to a regular RPC
            connection. However, it will always return
            an empty object!