Skip to content

Environment variables in pipestat

Both the command line interface (CLI) and Python API support a collection of environment variables, which can be used to configure pipestat actions.

Here is a list of the supported environment variables:

Environment variableAPI argumentDescription
PIPESTAT_RECORD_IDENTIFIERrecord_identifierrecord identifier to report for. This creates a weak bound to the record, which can be overridden in this object method calls
PIPESTAT_CONFIGconfigpath to the configuration file or a mapping with the config file content
PIPESTAT_RESULTS_FILEresults_file_pathYAML file to report into, if file is used as the object back-end
PIPESTAT_RESULTS_SCHEMAschema_pathpath to the output schema that formalizes the results structure
PIPESTAT_STATUS_SCHEMAstatus_schema_pathpath to the status schema that formalizes the status flags structure
PIPESTAT_TYPEpipeline_typesample or project-level PipestatManager