Thread
#prefect-community
    Paul Lucas

    Paul Lucas

    2 months ago
    Hi I’m trying to implement a dbt flow that runs our process but when I look at the tasks I just get
    DbtShellTask
    which isn’t very helpful. Is there a way to rename the individual tasks to something more useful? I’ve tried using
    name
    and
    task_run_name
    arguments but without any luck.
    Anna Geller

    Anna Geller

    2 months ago
    try with task_args:
    dbt_task = DbtShellTask(...)
    
    with Flow("example") as flow:
        dbt_test = dbt_task(..., task_args={"name": "dbt-test"})
    Paul Lucas

    Paul Lucas

    2 months ago
    Thank you, @Anna Geller Worked a charm!