Hi guys, I'm trying to run the hello world flow: ...
# ask-community
s
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
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
Hey @Chris White, thank you for the response So I can just upgrade my Prefect Server and that will do it, correct?
c
Yes, once this is released
(which should be later today or tomorrow)
s
Thank you very much 😄