Workflow
Workflow(*, label: ‘str’, marker: ‘str’, steps: ‘list[Step]’, artifacts: ‘list[Artifact[BaseModel]]’ =
Usage
Workflow()Parameter Attributes
label: strmarker: strsteps: list[Step]artifacts: list[Artifact[BaseModel]] = (lambda: [])()post_complete: Callable[[BaseHookEvent], HookResult | None] | None = Noneon_start: Callable[[BaseHookEvent], HookResult | None] | None = None
Methods
| Name | Description |
|---|---|
| setup() | Run the on_start callback when the workflow’s subagent launches. |
setup()
Run the on_start callback when the workflow’s subagent launches.
Usage
setup(evt)