Sachit Shivam
09/01/2020, 11:18 AMfrom prefect import task, Flow, Parameter
@task(log_stdout=True)
def say_hello(name):
print("Hello, {}!".format(name))
with Flow("My First Flow") as flow:
name = Parameter('name')
say_hello(name)
flow.register('Test')
I've created a project named "Test" on the Prefect UI and I've set the parameter for "name" as "test"
However, the flow keeps failing:
I'm unable to figure out what I'm doing wrong
Can anyone point me in the right direction?Chris White
Sachit Shivam
09/01/2020, 3:10 PMChris White
Chris White
Sachit Shivam
09/01/2020, 3:14 PM