osa_toolkit/filesystem.py
def load_environment(config_path, environment):
    """Create an environment dictionary from config files

    :param config_path: ``str`` path where the environment files are kept
    :param environment: ``dict`` dictionary to populate with environment data
    """

    # Load all YAML files found in the env.d directory
    env_plugins = dir_find(config_path, 'env.d', raise_if_missing=False)

    if env_plugins is not False:
        _extra_config(user_defined_config=environment, base_dir=env_plugins)
        logger.debug("Loaded environment from {}".format(config_path))

    return environment
Create an environment dictionary from config files

    :param config_path: ``str`` path where the environment files are kept
    :param environment: ``dict`` dictionary to populate with environment data
    
Create an environment dictionary from config files
Create an environment dictionary from config files
def load_environment(config_path, environment):
    env_plugins = dir_find(config_path, 'env.d', raise_if_missing=False)
    if env_plugins is not False:
        _extra_config(user_defined_config=environment, base_dir=env_plugins)
        logger.debug("Loaded environment from {}".format(config_path))
    return environment
def load_environment ( config_path , environment ) : env_plugins = dir_find ( config_path , 'env.d' , raise_if_missing = False ) if env_plugins is not False : _extra_config ( user_defined_config = environment , base_dir = env_plugins ) logger . debug ( "Loaded environment from {}" . format ( config_path ) ) return environment
Create an environment dictionary from config files
Create an environment dictionary from config files
"""Create an environment dictionary from config files

    :param config_path: ``str`` path where the environment files are kept
    :param environment: ``dict`` dictionary to populate with environment data
    """ # Load all YAML files found in the env.d directory
config_path
``str`` path where the environment files are kept
` ` str ` ` path where the environment files are kept
environment
``dict`` dictionary to populate with environment data
` ` dict ` ` dictionary to populate with environment data