fromtyping_extensionsimportAnnotatedfromhera.sharedimportglobal_configfromhera.workflowsimportInput,Output,Parameter,Workflowglobal_config.experimental_features["decorator_syntax"]=True# We start by defining our Workfloww=Workflow(generate_name="container-workflow-")# This defines the template's inputsclassMyInput(Input):user:str="Hera"# This defines the template's outputsclassMyOutput(Output):container_greeting:Annotated[str,Parameter(name="container-greeting",value_from={"path":"/tmp/hello_world.txt"},),]# We then use the decorators of the `Workflow` object# to set the entrypoint and create a Container template@w.set_entrypoint@w.container(image="busybox",command=["sh","-c"],args=["echo Hello {{inputs.parameters.user}} | tee /tmp/hello_world.txt"],)defbasic_hello_world(my_input:MyInput)->MyOutput:...