Thread
#best-practices-coordination-plane
    m

    Marcin Grzybowski

    3 months ago
    Hi! So I started playing with Prefect2.0 and here is my question: tasks / and flows are visible on radar - "normal" python functions are not. If I want to achieve "granularity" on the radar I have to use subflows? As I cannot run task from task ?
    Kevin Kho

    Kevin Kho

    3 months ago
    You can break up code into smaller tasks? Yes you need to use either of those so Prefect knows to track that piece fo code
    m

    Marcin Grzybowski

    3 months ago
    Ok, thank you! My case is that I want to have some reusable code that can be run from different task, but it should be trackable
    Kevin Kho

    Kevin Kho

    3 months ago
    I see. That does sound like a good use case for a subflow since those can hold tasks