Hi guys, i was new to prefect, i ran a very basic code flow, and then i want to see it in UI, but i am getting error like this, "ValueError: Project my_first_flow not found. Run
client.create_project("my_first_flow")
to create it." And here is my basic code
from prefect import task, Flow
@task
def hello_world():
return "hello prefect"
@task
def prefect_say(s:str):
print(s)
with Flow("my_first_flow") as f:
r = hello_world()
s = prefect_say(r)
# f.run()
f.visualize()
f.register("my_first_flow")
j
Jenny
10/06/2020, 1:15 PM
Hello @gunarevuri and welcome to Prefect. We use projects in the UI to organize flows and as the error message says, you'll need to add a project to register your flow to. You can see how to create a project here: https://docs.prefect.io/orchestration/concepts/projects.html#graphql
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.