(self)
| 23 | |
| 24 | class XrayService: |
| 25 | def __init__(self) -> None: |
| 26 | self.app: Flask = Flask(__name__) |
| 27 | self.valid_configs: Dict[str, Dict[str, str]] = {} |
| 28 | self.latest_metrics: str = "" |
| 29 | self.instance_location_info: Optional[Union[str, Dict[str, str]]] = None |
| 30 | self._shutdown_event: threading.Event = threading.Event() |
| 31 | self._setup_routes() |
| 32 | |
| 33 | def _setup_routes(self) -> None: |
| 34 | @self.app.route("/config") |
nothing calls this directly
no test coverage detected