Skip to main content

Flow Decorators

These decorators are set at the flow level, i.e. above the class definition. In contrast to step decorators, they can't be attached on the command line using --with.


@conda_base(libraries={'pandas': '1.0.0'})
class MyFlow(FlowSpec):


  • @conda_base - set libraries used by all steps.
  • @project - create isolated namespaces around flows.
  • @schedule - define when to run flows in production.
  • @trigger - trigger a deployed flow when an event occurs.
  • @trigger_on_finish - trigger a deployed flow when another flow finishes.