def run(self):
        """Run operations."""
        for op in self.ops:
            if isinstance(op, Operation):
                LOGGER.info("%s %s", op.method, op.args)
                op.run()
            else:
                op()
        self.clean()
def run ( self ) : for op in self . ops : if isinstance ( op , Operation ) : LOGGER . info ( "%s %s" , op . method , op . args ) op . run ( ) else : op ( ) self . clean ( )
Run operations.