Mohan kancherla
02/27/2025, 4:55 PM{
"op": "add",
"path": "/propagateTags",
"value": "TASK_DEFINITION"
}
Marvin
02/27/2025, 4:55 PMpython
from prefect import task, flow
@task(tags=["example-tag"])
def my_task():
print("Task with a tag")
@flow
def my_flow():
my_task()
my_flow()
This example demonstrates how to assign a tag to a task, which can be useful for concurrency management or organization. For more details, you can refer to the Prefect 3.x documentation on task run limits.
If you need to propagate tags in a specific way, you might need to manually handle this within your flow logic.Mohan kancherla
02/27/2025, 4:57 PMMohan kancherla
02/27/2025, 4:58 PMNate
02/27/2025, 5:00 PMpropagated from the task definition using task customization as belowits not clear from your question what you're referring to, are you talking about ECS tasks? prefect tasks? either way, the behavior should be nearly the same between 2.x and 3.x
Mohan kancherla
02/27/2025, 5:09 PMMohan kancherla
02/27/2025, 5:26 PMMohan kancherla
02/27/2025, 8:54 PM