mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-15 22:42:23 +01:00
ae01a7edd3
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.
1 line
70 B
Text
1 line
70 B
Text
Update type annotations for compatiblity with prometheus_client 0.14.
|