https://flyte.org logo
#ask-the-community
Title
# ask-the-community
a

Alykhan Tejani

01/24/2024, 6:01 PM
is there a way to add labels to a task dynamically? i.e. have a @dynamic task that calls another task and can modify the task's task_config?
k

Kevin Su

01/24/2024, 6:54 PM
yes, you can use task,with_overrides(task_config=..)
a

Alykhan Tejani

01/24/2024, 6:55 PM
yes but what is the field in task_config for labels
k

Kevin Su

01/24/2024, 7:21 PM
ah, i see. you want to override podtemplate, in order to update the labels, right
a

Alykhan Tejani

01/26/2024, 5:06 PM
yeah
thanks, this worked