mirror of
https://github.com/element-hq/synapse
synced 2024-07-04 15:43:32 +00:00
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.
|