def __init__(self, workflow_id, name, description, owner, online=False, monitor=False):

        """
        Initialise the workflow

        :param workflow_id: The workflow id
        :param name: The name of the workflow
        :param description: A human readable description
        :param owner: The owner/author of the workflow
        :param online: Whether this workflow should be executed by the online engine
        :param monitor: Whether to log monitoring messages for this workflow
        """
        self.workflow_id = workflow_id
        self.name = name
        self.description = description
        self.owner = owner
        self.nodes = {}
        self.factors = []
        self.online = online
        self.monitor = monitor

        self._hyperstream = None

        logging.info("New workflow created with id {}".format(workflow_id))
def __init__ ( self , workflow_id , name , description , owner , online = False , monitor = False ) : self . workflow_id = workflow_id self . name = name self . description = description self . owner = owner self . nodes = { } self . factors = [ ] self . online = online self . monitor = monitor self . _hyperstream = None logging . info ( "New workflow created with id {}" . format ( workflow_id ) )
Initialise the workflow

        :param workflow_id: The workflow id
        :param name: The name of the workflow
        :param description: A human readable description
        :param owner: The owner/author of the workflow
        :param online: Whether this workflow should be executed by the online engine
        :param monitor: Whether to log monitoring messages for this workflow