def __call__(self, *args, **kw):
            if not args:
                raise WrongNumberOfArguments(
                    'No arguments given to %s' % self.func)
            try:
                meth = getattr(self.parent.state, args[0]).__name__
            except __HOLE__:
                if kw.get('typed', True):
                    raise
                else:
                    meth = args[0]
            return self.func(meth, *args[1:], **kw)
dataset/ETHPy150Open celery/cell/cell/actors.py/ActorProxy.state.__call__