def __call__(self, obj):
        from traceback import format_exc
        try:
            if obj[0][:1] == '_':
                raise Exception('Method not available')
            if len(obj) == 1:
                obj = [obj[0], {}]
            if not hasattr(self, obj[0]):
                return self._unsupported(obj[0], **obj[1])
            func = getattr(self, obj[0])
            return func(**obj[1])
        except:
            self.zero.setup.err('Exception: ' + format_exc())
            return ['ERROR', format_exc()]
Calls the method from obj (always of the form [<method name>, {<kwargs>}]).
dataset/ETHPy150Open philipbergen/zero/py/zero/rpc.py/ZeroRPC.__call__