https://prefect.io logo
m

Muddassir Shaikh

01/18/2022, 4:04 PM
I have a task function which gets a tuple as input. The task_name for this task is to be derived from another function named _task_name_from_tup_ based on the tuple which it gets: example
Copy code
@task(task_run_name="{task_name_from_tup(details)}", max_retries=3, retry_delay=timedelta(minutes=1))  
def processing(details):
	//some code//
k

Kevin Kho

01/18/2022, 4:19 PM
I think you don’t want the
{}
as seen here
🙌 1
4 Views