PrefectHQ / prefect

Prefect is a workflow orchestration framework for building resilient data pipelines in Python.
https://prefect.io
Apache License 2.0
16.14k stars 1.57k forks source link

Suppress the warning on the `run_deployment` utility: `UserWarning: A task named 'flow/deploy' and defined at '...prefect/deployments.py:100' conflicts with another task.` #7619

Closed anna-geller closed 1 month ago

anna-geller commented 1 year ago

First check

Prefect Version

2.x

Describe the current behavior

Some users justifiably get confused about this warning since run_deployment is not a task

Describe the proposed behavior

suppress that warning

Example Use

https://discourse.prefect.io/t/asynchronous-parallel-tasks/1941/10

Additional context

No response

zanieb commented 1 year ago

I think we should probably just generate a unique name for it; @bunchesofdonald you may be a good candidate for this one with your background on task keys.

cicdw commented 1 month ago

We no longer have this log - closing as complete