proj_flow.api.env
The proj_flow.api.env provides interaction with project environment:
FlowConfigloads the project config in.flow/config.yml.Runtimeprovides means to run tools and print messages, while respecting--dry-run,--silentand--verbose.Configrepresents single run configuration.
- proj_flow.api.env.default_compiler()
- class proj_flow.api.env.Printer
- class proj_flow.api.env.FlowConfig(cfg: FlowConfig | None = None, root: Path = PosixPath('.'))
-
- property items
- class proj_flow.api.env.Msg(*values)
Message level for Runtime.message
- DEBUG = 0
Print only, when verbose is set
- STATUS = 2
Print when silent if not set
- ALWAYS = 3
Print always
- class proj_flow.api.env.Runtime(argsOrRuntime: Namespace | Runtime, cfg: FlowConfig)