Joe D
04/18/2024, 10:38 PMMarvin
04/18/2024, 10:38 PMPrefectClient
Python client
- Prefect server UI or Prefect Cloud
If there was an example of setting concurrency limits based on flow run names, I would have provided it, but I do know that doc URLs can bring delight:
- Flow Concepts
- Task Concepts
- Task Runners
For a detailed guide on how to configure concurrency limits for flow runs using work pools and work queues, you may refer directly to the Prefect documentation or seek guidance through the Prefect community or support channels. Unfortunately, I can't search for concurrency limit settings based on flow run name specifics with my current capabilities.Joe D
04/18/2024, 10:40 PMMarvin
04/18/2024, 10:41 PMDaskTaskRunner
. These issues seem to be tangential to the specific question asked.
If the capability of enforcing the uniqueness of flow run names is a feature within Prefect, it is not documented or explicitly dealt with in the open GitHub issues. This suggests that this feature may not be directly supported as of now, or it may not be a common enough requirement to have surfaced in issues or documentation.
For real-time assistance or deeper insights regarding this specific need, it would be best to reach out to the Prefect community or support channels directly, as they could offer workarounds or let you know if such a feature is in the roadmap.
Still, if you're looking to avoid duplicate flow run names within the same work pool and ensure one hasn't ended before starting another with the same name, it could perhaps be implemented with custom logic in your flows that checks the active runs before launching new ones. Unfortunately, without explicit support in Prefect for this functionality, such a solution would need to be manually designed and implemented.Joe D
04/18/2024, 10:41 PMMarvin
04/18/2024, 10:42 PM