Hi folks, I have created a file that contains a fl...
# prefect-ui
d
Hi folks, I have created a file that contains a flow of flows and so far it works great! The only question I have is how can I name the individual flows so I can distinguish them in the UI.
a
You can add
task_args
with a name argument to all your Prefect tasks, e.g.
Copy code
sales_forecast = create_flow_run(
        flow_name="sales_forecast",
        project_name=PROJECT_NAME,
        task_args={"name": "Sales Forecast"},
        upstream_tasks=[dbt_flow_run_view],
    )
🙌 1
d
Thanks @Anna Geller, that's exactly what I was looking for
👍 1