fromtypingimportAnnotatedfromhera.workflowsimport(Artifact,NoneArchiveStrategy,Steps,Workflow,script,)fromhera.workflows.artifactimportArtifactLoader@script(constructor="runner")defwriter()->Annotated[str,Artifact(name="out-art",archive=NoneArchiveStrategy())]:return"Hello, world!"@script(constructor="runner")defconsumer(in_art:Annotated[str,Artifact(loader=ArtifactLoader.file),],):print(in_art)# prints `Hello, world!` to `stdout`withWorkflow(generate_name="artifact-",entrypoint="steps")asw:withSteps(name="steps"):w_=writer()c=consumer(arguments={"in_art":w_.get_artifact("out-art")})