search.context module¶
Helpers for working with Flask globals.
-
search.context.
get_application_config
(app=None)[source]¶ Get a configuration from the current app, or fall back to env.
Parameters: app ( flask.Flask
) –Returns: This is either the current Flask application configuration, or os.environ
. Either of these should support theget()
method.Return type: dict-like Return type: Union
[dict
,_Environ
]