Esempio n. 1
0
File: workflow.py Progetto: siq/flux
 def instantiate(self, workflow):
     element = WorkflowElement.unserialize(workflow.specification)
     self.cache[workflow.id] = (workflow.modified, element)
     return element
Esempio n. 2
0
    def _verify_specification(cls, specification):
        if specification is None:
            return

        schema = WorkflowElement.unserialize(specification)
        schema.verify()
Esempio n. 3
0
File: workflow.py Progetto: siq/flux
    def _verify_specification(cls, specification):
        if specification is None:
            return

        schema = WorkflowElement.unserialize(specification)
        schema.verify()
Esempio n. 4
0
 def instantiate(self, workflow):
     element = WorkflowElement.unserialize(workflow.specification)
     self.cache[workflow.id] = (workflow.modified, element)
     return element