pub fn load(
file: Option<FileSource<'_>>,
env: &BTreeMap<String, String>,
overrides: &[Override],
) -> Result<Config, ConfigError>Expand description
Loads the configuration from the file’s contents (if any), the environment and the command-line overrides; later sources win (flags > environment > file).
Validation resolves the DAG and script roots and checks that the DAG interpreter is
defined. If [interpreters] doesn’t define python, it is the built-in python3.
§Errors
Returns a ConfigError for anything that would make schedr refuse to start.