Workflow Template Hello World Note This example is a replication of an Argo Workflow example in Hera. The upstream example can be found here. HeraYAML 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17from hera.workflows import Step, Steps, Workflow from hera.workflows.models import TemplateRef with Workflow( generate_name="workflow-template-hello-world-", entrypoint="hello-world-from-templateRef", ) as w: print_message_template_ref = TemplateRef( name="workflow-template-print-message", template="print-message", ) with Steps(name="hello-world-from-templateRef"): Step( name="call-print-message", template_ref=print_message_template_ref, arguments={"message": "hello world"}, ) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17apiVersion: argoproj.io/v1alpha1 kind: Workflow metadata: generateName: workflow-template-hello-world- spec: entrypoint: hello-world-from-templateRef templates: - name: hello-world-from-templateRef steps: - - name: call-print-message arguments: parameters: - name: message value: hello world templateRef: name: workflow-template-print-message template: print-message Comments