Thread
#prefect-community
    Alvaro Durán Tovar

    Alvaro Durán Tovar

    4 months ago
    Is it possible to set the final state of the flow to the state of one of the intermediate tasks?
    Kevin Kho

    Kevin Kho

    4 months ago
    Yeah use:
    with Flow(...) as flow:
        a = ...
    
    flow.set_reference_tasks([a])
    Check this
    Anna Geller

    Anna Geller

    4 months ago
    this was for 1.0, if you need it for 2.0, check this
    Alvaro Durán Tovar

    Alvaro Durán Tovar

    4 months ago
    Amazing, thank you guys!