Skip to main content

Managing Flows in Notebooks and Scripts


This is a new feature in Metaflow 2.12. Make sure you have a recent enough version of Metaflow to use this feature.

Besides executing flows on the command line, Metaflow provides an API for starting runs and other operations programmatically. This feature comes in handy when you want to, for instance

In cases like this the Runner API allows you to run flows and perform other actions locally, similar to running the flow manually on the command line. After you have deployed a flow in production, you can use the command line or event-triggering to execute flows in the production environment.