A step annotation marks a function as a Metaflow workflow step. Annotated functions, connected with self.next, construct a workflow DAG directly in application code, keeping prototyping and workflow development together. section 9.3.3
Use annotated steps to:
- Represent sequential workflow stages without defining a separate DAG system. section 9.3.3
- Test the same workflow locally before exporting it to AWS Step Functions or Argo Workflows. section 9.3.3
