speedwagon.workflow¶
Toolkit for generating new workflows.
- class speedwagon.workflow.AbsOutputOptionDataType(label: str, required: bool)¶
Base case for generating user option types.
- __init__(label: str, required: bool) None ¶
Create a new output time with a given label.
- add_validation(validator: AbsOutputValidation[_T, str], condition: Callable[[_T, UserData], bool] | None = None) None ¶
Include a validation for the value of this object.
- class speedwagon.workflow.ChoiceSelection(label: str, required=True)¶
Choice of predefined strings.
- add_selection(label: str) None ¶
Add a possible choice for the user to select.
- class speedwagon.workflow.FileSelectData(label: str, required: bool = True)¶
File selection.
- filter¶
File selection type filter. This uses the same convention used by Qt
See https://doc.qt.io/qt-6/qfiledialog.html for more info.
For example: “Checksum files (*.md5)”
- Type:
str | None
- class speedwagon.workflow.TextLineEditData(label: str, required: bool = True)¶
Single text line.
- class speedwagon.workflow.DirectorySelect(label: str, required: bool = True)¶
Directory path selection.
- class speedwagon.workflow.BooleanSelect(label: str, required: bool = False)¶
Boolean selection.