https://prefect.io logo
#prefect-community
Title
# prefect-community
s

Sachit Shivam

09/01/2020, 11:18 AM
Hi guys, I'm trying to run the hello world flow:
Copy code
from 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?
c

Chris White

09/01/2020, 3:10 PM
Hi @Sachit Shivam - this was a bug that was fixed this morning actually: https://github.com/PrefectHQ/server/pull/65 It will go out in the next release of Server
s

Sachit Shivam

09/01/2020, 3:10 PM
Hey @Chris White, thank you for the response So I can just upgrade my Prefect Server and that will do it, correct?
c

Chris White

09/01/2020, 3:11 PM
Yes, once this is released
(which should be later today or tomorrow)
s

Sachit Shivam

09/01/2020, 3:14 PM
Thank you very much 😄