Ejemplo n.º 1
0
def translateWorkflow(_workflow):
    translate_dict = {
        'DBGroup': {
            'workflow': update_workflow
        },
        'DBWorkflow': {
            'modules': update_modules
        }
    }
    workflow = DBWorkflow.update_version(_workflow, translate_dict)
    workflow.db_version = '0.9.3'
    return workflow
Ejemplo n.º 2
0
 def update_workflow(old_obj, translate_dict):
     return DBWorkflow.update_version(old_obj.db_workflow, translate_dict)
Ejemplo n.º 3
0
def translateWorkflow(_workflow):
    translate_dict = {'DBGroup': {'workflow': update_workflow},
                      'DBWorkflow': {'modules': update_modules}}
    workflow = DBWorkflow.update_version(_workflow, translate_dict)
    workflow.db_version = '0.9.3'
    return workflow
Ejemplo n.º 4
0
 def update_workflow(old_obj, translate_dict):
     return DBWorkflow.update_version(old_obj.db_workflow, translate_dict)
Ejemplo n.º 5
0
def translateWorkflow(_workflow):
    translate_dict = {"DBGroup": {"workflow": update_workflow}, "DBWorkflow": {"modules": update_modules}}
    workflow = DBWorkflow.update_version(_workflow, translate_dict)
    workflow.db_version = "0.9.3"
    return workflow