Python

Last updated: December 22, 2025

It is possible to extract values from python scripts and models into Flow.

See the video below to see how to do this, ensuring to do the following setup steps which are also shown in the video:

  • Enable Analysis

    • This can be done via Settings -> Project -> General -> Enable Analysis

    • Once enabled, a new Analysis option will become available in your project sidebar alongside Requirements and Desing Values. It can be found under the Verification section

  • Connect your GitHub account to flow

    • This can be done via Settings -> Integrations -> Github

    • You will need to set up a GitHub toke if you do not have one

    • If you self-host GitHub, you can also optionally enter a custom domain. This is optional

Which values are extracted?

  • All variables defined or assigned in the script root/global scope will be extracted.

  • Variables in functions will NOT be extracted (as they are not in the script root/global scope).

  • Only numerical values will be extracted.

Refer to the example script in the image below or the attached file for information on which variables are extracted. The attached video also shows this in action.