Skip to main content

role_config

Function role_config 

Source
pub fn role_config(
    config: &Config,
    env: &BTreeMap<String, String>,
    project: bool,
) -> Result<Config, AppError>
Expand description

The configuration with the built-in python interpreter looked for (see crate::interpreter::apply): project on for the local commands, off for a worker.

§Errors

AppError::BadArgument if a pyenv shim can’t be resolved.