lib/devpipeline_core/env.py
def create_environment(component_config):
    """
    Create a modified environment.

    Arguments
    component_config - The configuration for a component.
    """
    ret = os.environ.copy()
    for env in component_config.get_list("dp.env_list"):
        real_env = env.upper()
        value = os.environ.get(real_env)
        value = _prepend_env(component_config, env, value)
        value = _append_env(component_config, env, value)
        _apply_change(ret, real_env, value, component_config)
    return ret

    Create a modified environment.

    Arguments
    component_config - The configuration for a component.
    
Create a modified environment.
Arguments
component_config - The configuration for a component.
Create a modified environment . Arguments component_config - The configuration for a component .
def create_environment(component_config):
    ret = os.environ.copy()
    for env in component_config.get_list("dp.env_list"):
        real_env = env.upper()
        value = os.environ.get(real_env)
        value = _prepend_env(component_config, env, value)
        value = _append_env(component_config, env, value)
        _apply_change(ret, real_env, value, component_config)
    return ret
def create_environment ( component_config ) : ret = os . environ . copy ( ) for env in component_config . get_list ( "dp.env_list" ) : real_env = env . upper ( ) value = os . environ . get ( real_env ) value = _prepend_env ( component_config , env , value ) value = _append_env ( component_config , env , value ) _apply_change ( ret , real_env , value , component_config ) return ret
Create a modified environment.
Create a modified environment .
"""
    Create a modified environment.

    Arguments
    component_config - The configuration for a component.
    """
component_config