You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Task.set_upstream and Task.set_downstream were originally envisioned as methods for building up a Flow which does not pass data. Task.set_dependencies offers a richer API for specifying data passage between tasks.
We should elevate all these methods to expose the full set of Prefect's features:
allow for the creation of keyed edges
allow for the creation of mapped edges
We might need to think about whether set_upstream and set_downstream should have the same exact options - calls where the upstream task specifies a key on the downstream task like t1.set_downstream(t2, key="y") feel unnatural.
The text was updated successfully, but these errors were encountered:
Task.set_upstream
andTask.set_downstream
were originally envisioned as methods for building up a Flow which does not pass data.Task.set_dependencies
offers a richer API for specifying data passage between tasks.We should elevate all these methods to expose the full set of Prefect's features:
We might need to think about whether
set_upstream
andset_downstream
should have the same exact options - calls where the upstream task specifies a key on the downstream task liket1.set_downstream(t2, key="y")
feel unnatural.The text was updated successfully, but these errors were encountered: