synapse-product/synapse
Richard van der Hoff ae01a7edd3
Update type annotations for compatiblity with prometheus_client 0.14 ()
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.
2022-04-06 12:59:04 +00:00
..
_scripts Track device list updates per room. () 2022-04-04 15:25:20 +01:00
api Bump black and click versions () 2022-04-05 11:04:28 +01:00
app Move update_client_ip background job from the main process to the background worker. () 2022-04-01 13:08:55 +01:00
appservice Bump black and click versions () 2022-04-05 11:04:28 +01:00
config Track device list updates per room. () 2022-04-04 15:25:20 +01:00
crypto Bump black and click versions () 2022-04-05 11:04:28 +01:00
events Bump black and click versions () 2022-04-05 11:04:28 +01:00
federation Refactor and convert Linearizer to async () 2022-04-05 15:43:52 +01:00
groups Remove HomeServer.get_datastore() () 2022-02-23 11:04:02 +00:00
handlers Generate historic pagination token for /messages when no ?from token provided () 2022-04-06 11:40:28 +01:00
http Bump black and click versions () 2022-04-05 11:04:28 +01:00
logging Use ParamSpec in type hints for synapse.logging.context () 2022-03-08 15:58:14 +00:00
metrics Update type annotations for compatiblity with prometheus_client 0.14 () 2022-04-06 12:59:04 +00:00
module_api Add a module callback to react to account data changes () 2022-04-01 11:22:48 +02:00
push Refactor and convert Linearizer to async () 2022-04-05 15:43:52 +01:00
replication Refactor and convert Linearizer to async () 2022-04-05 15:43:52 +01:00
res Tweak copy for sso account details template () 2022-03-22 10:22:25 +00:00
rest Refactor and convert Linearizer to async () 2022-04-05 15:43:52 +01:00
server_notices Remove HomeServer.get_datastore() () 2022-02-23 11:04:02 +00:00
spam_checker_api Remove redundant "coding: utf-8" lines () 2021-04-14 15:34:27 +01:00
state Refactor and convert Linearizer to async () 2022-04-05 15:43:52 +01:00
static Display an error page during failure of fallback UIA. () 2021-08-18 08:13:35 -04:00
storage Update type annotations for compatiblity with prometheus_client 0.14 () 2022-04-06 12:59:04 +00:00
streams Generate historic pagination token for /messages when no ?from token provided () 2022-04-06 11:40:28 +01:00
util Fix edge case where a Linearizer could get stuck () 2022-04-05 17:19:16 +01:00
__init__.py 1.56.0 2022-04-05 12:44:00 +01:00
event_auth.py Remove excess condition on knock->leave check () 2022-02-22 18:35:01 +00:00
notifier.py Remove HomeServer.get_datastore() () 2022-02-23 11:04:02 +00:00
py.typed Mark Module API error imports as re-exported and mark Synapse as containing type annotations () 2021-10-13 08:42:41 +01:00
python_dependencies.py Add missing dependency on importlib_metadata () 2022-04-05 18:25:56 +00:00
server.py Add a relations handler to avoid duplication. () 2022-03-16 10:39:15 -04:00
types.py Make StreamToken and RoomStreamToken methods propagate cancellations () 2022-04-05 16:56:52 +01:00
visibility.py Handle outliers in /federation/v1/event () 2022-03-31 17:39:34 +00:00