I created this function to create the name of the ...
# ask-marvin
m
I created this function to create the name of the task but I need to put the "region" field in the task name, as the "region" field is not a parameter of the task, it is a variable of the function in the task. How do I include the region in the task name using the function below? @Nate, @Marvin
Copy code
def generate_task_name():
    task_name = task_run.task_name
    parameters = task_run.parameters
    name = parameters["name"]
    return f"{task_name}-{name}"