Coverage for app.py: 0%

5 statements  

« prev     ^ index     » next       coverage.py v7.16.2, created at 2026-11-13 22:08 +0000

1# This file serves as an entry point for the rock image. It is required by the PaaS app charmer. 

2# The flask application must be defined in this file under the variable name `app`. 

3# See - https://ubuntu.com/containers/rockcraft/docs/latest/reference/extensions/flask-framework/ 

4import os 

5import logging 

6 

7# disable talisker logger, as it is not used in this application and clutters logs 

8logging.getLogger("talisker.context").disabled = True 

9 

10from webapp.app import create_app 

11 

12app = create_app()