acoustic-carpenter-78188
01/20/2023, 6:33 PMfrom flytekit import ContainerTask, kwtypes, workflow
hello_task = ContainerTask(
name="hello",
image="ubuntu:20.04",
inputs=kwtypes(name=str),
command=["echo", "hello {{.inputs.name}}"]
)
@workflow
def say_hello(name: str):
hello_task(name=name)
Screenshots
No response
Are you sure this issue hasn't been raised already?
☑︎ Yes
Have you read the Code of Conduct?
☑︎ Yes
flyteorg/flyteacoustic-carpenter-78188
02/09/2023, 3:47 PM