(bless_config)
Override config values from environment variables
    Args:
        bless_config (BlessConfig): Loaded BlessConfig
Override config values from environment variables
    Args:
        bless_config (BlessConfig): Loaded BlessConfig
Override config values from environment variables Args : bless_config ( BlessConfig ) : Loaded BlessConfig
def update_config_from_env(bless_config):
    """ Override config values from environment variables
    Args:
        bless_config (BlessConfig): Loaded BlessConfig
    """
    lifetime = os.getenv('BLESSIPCACHELIFETIME')
    if lifetime is not None:
        lifetime = int(lifetime)
        logging.debug('Overriding ipcachelifetime from env: {}'.format(lifetime))
        bless_config.set_lambda_config('ipcachelifetime', lifetime)
def update_config_from_env ( bless_config ) : lifetime = os . getenv ( 'BLESSIPCACHELIFETIME' ) if lifetime is not None : lifetime = int ( lifetime ) logging . debug ( 'Overriding ipcachelifetime from env: {}' . format ( lifetime ) ) bless_config . set_lambda_config ( 'ipcachelifetime' , lifetime )