def __call__ ( self , func , * args , * * kwargs ) : return self . run ( func , * args , * * kwargs )
programmatic call methods in an instance python
Shorcut for self . run .
def __call__(self, func, *args, **kwargs):
        """Shorcut for self.run."""
        return self.run(func, *args, **kwargs)