probably a very simple question, but i cannot find the answer in the docs.
i have two tasks,
(defined by the
decorator), which are both storing data in a database. for integrity i need to make sure that
starts. the tasks do not need to return anything. how do i make the dependency explicit and tell
to wait for
2 years ago
We call this sort of dependency a “state dependency” (as the dependency only depends on whether the upstream’s state and not the data it passes). Setting state dependencies can be done in many ways but probably the simplest is: