()
return config
Returns a copy of app_config containing only
    configuration variables.
Returns a copy of app_config containing only
    configuration variables.
Returns a copy of app_config containing only configuration variables .
def flatten_app_config():
    """
    Returns a copy of app_config containing only
    configuration variables.
    """
    config = {}

    # Only all-caps [constant] vars get included
    for k, v in app_config.__dict__.items():
        if k.upper() == k:
            config[k] = v

    return config
def flatten_app_config ( ) : config = { } # Only all-caps [constant] vars get included for k , v in app_config . __dict__ . items ( ) : if k . upper ( ) == k : config [ k ] = v return config