What is the difference between flow.set_dependency and flow.add_edge in Prefect 1.0?
a
Anna Geller
08/12/2022, 12:48 AM
ideally, don't use any of those 😂 those are for the imperative API, which no longer exists in Prefect 2.0 - the default Prefect version now
the right way to set dependencies for tasks that don't pass data is:
• 1.0 - upstrea_tasks argument
• 2.0 - wait_for
the docs.prefect.io + docs-v1.prefect.io will show more info