appο
Submodulesο
Attributesο
Functionsο
|
Application factory to create a Flask application instance |
Package Contentsο
- app.create_app(config_class='app.config.Config', test_config=False)[source]ο
Application factory to create a Flask application instance with the specified configuration.
- Parameters:
config_class (str) β Reference to the configuration object to use.
test_config (bool) β If True, apply the test configuration.
- Returns:
The Flask application instance.
- Return type:
app (Flask)