def set_app_global(key, value):
 (key, value) = process_app_global(key, value)
 setattr(app_globals, key, value)

def set_app_global ( key , value ) : ( key , value ) = process_app_global ( key , value ) setattr ( app_globals , key , value )
set a new key on the app_globals (g) object it will process the value according to the options on app_globals_from_config_details .