KhTan
10/25/2021, 11:37 PMnicholas
KhTan
10/26/2021, 1:30 AMwith Flow('daily',
schedule=daily_schedule
) as flow:
…
flow.register(project_name='first_prefect')
with Flow('weekly',
schedule=weekly_schedule
) as flow:
…
flow.register(project_name='first_prefect')
KhTan
10/26/2021, 1:34 AMKevin Kho
with Flow(…) as flow1:
....
flow1.register()
with Flow(…) as flow2:
....
flow2.register()
Kevin Kho
Kevin Kho
Anna Geller
if after starting server and local agent and registering the project, the dashboard doesn’t recognize the registered flow or the agent, what could be the reasons?Did you switch the backend to server? It looks like maybe you registered your agent and flows to Prefect Cloud, and you look into Server UI, or vice versa. Here is how you can do it (NOT recommended when you’re getting started):
prefect backend server
Or if you want to use Prefect Cloud instead (recommended when you’re getting started):
prefect backend cloud
And here is getting started guide that may be helpful: https://docs.prefect.io/orchestration/getting-started/set-up.html#server-or-cloud