Hi Jason, just wondering, did you deploy this flow?
I've used task_run_name to write templated task names to logs for mapped tasks, but I noticed that when I ran the flow locally, it would return the function name, however when viewing flow runs from cloud, the the task names were templated with the parameters I passed in
upvote 2
j
Jason
05/17/2022, 7:17 PM
Ah interesting - I was only testing locally
j
James Sopkin
05/17/2022, 7:18 PM
for local testing you could always try using the prefect logger and doing something like