Skip to main content

Overview

Use workflow(name: str, method_name: Optional[str] = None) to mark an end-to-end run. All nested tasks are captured under this workflow.

Function usage

Class usage

Parameters

  • name: workflow display name
  • method_name (optional): required when decorating a class; name of the method to execute

Best practices

  • Use descriptive workflow names for easy navigation
  • Keep workflows coarse-grained; use tasks for internal steps