mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-21 09:45:29 +00:00
![Richard van der Hoff](/assets/img/avatar_default.png)
Principally, `prometheus_client.REGISTRY.register` now requires its argument to extend `prometheus_client.Collector`. Additionally, `Gauge.set` is now annotated so that passing `Optional[int]` causes an error.
2 lines
70 B
Plaintext
2 lines
70 B
Plaintext
Update type annotations for compatiblity with prometheus_client 0.14.
|