### Install Hera Python SDK Source: https://hera.readthedocs.io/en/stable/index Instructions to install the Hera Python SDK using pip, the standard package installer for Python. ```Python pip install hera ``` -------------------------------- ### Define and Submit a Basic Argo Workflow with Hera Source: https://hera.readthedocs.io/en/stable/index This example demonstrates how to define a simple Directed Acyclic Graph (DAG) workflow using Hera. It shows the use of the @script decorator to turn a Python function into a containerized template and how to define task dependencies within a DAG inside a Workflow for submission to Argo. ```Python from hera.workflows import DAG, Workflow, script @script() def echo(message: str): print(message) with Workflow( generate_name="dag-diamond-", entrypoint="diamond", ) as w: with DAG(name="diamond"): A = echo(name="A", arguments={"message": "A"}) B = echo(name="B", arguments={"message": "B"}) C = echo(name="C", arguments={"message": "C"}) D = echo(name="D", arguments={"message": "D"}) A >> [B, C] >> D # Define execution order w.create() ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.