Skip to content

workflow

WorkflowExportV2

Bases: BaseModel

Class for Workflow export.

Attributes:

Name Type Description
task_list list[WorkflowTaskExportV2]
Source code in fractal_server/app/schemas/v2/workflow.py
70
71
72
73
74
75
76
77
78
79
class WorkflowExportV2(BaseModel):
    """
    Class for `Workflow` export.

    Attributes:
        task_list:
    """

    name: str
    task_list: list[WorkflowTaskExportV2]

WorkflowImportV2

Bases: BaseModel

Class for Workflow import.

Attributes:

Name Type Description
task_list list[WorkflowTaskImportV2]
Source code in fractal_server/app/schemas/v2/workflow.py
55
56
57
58
59
60
61
62
63
64
65
66
67
class WorkflowImportV2(BaseModel, extra=Extra.forbid):
    """
    Class for `Workflow` import.

    Attributes:
        task_list:
    """

    name: str
    task_list: list[WorkflowTaskImportV2]

    # Validators
    _name = validator("name", allow_reuse=True)(valstr("name"))