Autogenerated type safety parameterisation of all methods

This commit is contained in:
Ian Renton
2026-09-20 20:02:19 +01:00
parent 6037e742cc
commit 324dd1414b
132 changed files with 1228 additions and 706 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
from __future__ import annotations
from prometheus_client import (
CollectorRegistry,
Counter,
@@ -25,7 +27,7 @@ memory_use_gauge = Gauge(
)
def get_metrics():
def get_metrics() -> bytes:
"""Get a Prometheus metrics response for the web server"""
return generate_latest(registry)