@Marvin Reusing a task multiple times within a flow ends up that prefect is adding a index to the task run. Is it possible to change the index by passing a literal?
m
Marvin
11/11/2023, 2:19 PM
When you reuse a task multiple times within a flow, Prefect automatically adds an index to the task run to differentiate between the different instances of the task. This is a built-in feature of Prefect and currently, there is no direct way to change this index by passing a literal.
However, if you want to have more control over the task names, you might consider creating separate tasks or using parameters to differentiate between the tasks.
For more specific use cases, I would recommend reaching out to the Prefect community on their Discourse forum. They might be able to provide more context-specific solutions.
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.