def __enter__(self):
        """
        Entry point - called when workflow computation starts

        :return: self
        """
        if self.monitor:
            try:
                logging.monitor(self.name, extra=dict(n="workflow_start"))
            except AttributeError:
                pass
        return self
def __enter__ ( self ) : if self . monitor : try : logging . monitor ( self . name , extra = dict ( n = "workflow_start" ) ) except AttributeError : pass return self
Entry point - called when workflow computation starts

        :return: self