load_run_policy

Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.

load_run_policy(path: str | Path) → RunPolicy[source]

Load a RunPolicy from a YAML mapping.

Parameters:

path – YAML file with run-policy keys; missing keys take defaults.

Returns:

The parsed run policy.