Hi! So I started playing with Prefect2.0 and here ...
# best-practices
m
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 ?
k
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
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
k
I see. That does sound like a good use case for a subflow since those can hold tasks
🙏 1