MatrixSynapse/synapse
Dirk Klimpel 1783156dbc
Add some type hints to datastore (#12423)
* Add some type hints to datastore

* newsfile

* change `Collection` to `List`

* refactor return type of `select_users_txn`

* correct type hint in `stream.py`

* Remove `Optional` in `select_users_txn`

* remove not needed return type in `__init__`

* Revert change in `get_stream_id_for_event_txn`

* Remove import from `Literal`
2022-04-12 11:54:00 +01:00
..
_scripts Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
api Bump `black` and `click` versions (#12320) 2022-04-05 11:04:28 +01:00
app Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
appservice Bump `black` and `click` versions (#12320) 2022-04-05 11:04:28 +01:00
config Remove experimental configuration flag for MSC3666. (#12436) 2022-04-11 15:37:46 -04:00
crypto Bump `black` and `click` versions (#12320) 2022-04-05 11:04:28 +01:00
events Bump `black` and `click` versions (#12320) 2022-04-05 11:04:28 +01:00
federation Unify HTTP query parameter type hints (#12415) 2022-04-08 13:06:51 +01:00
groups Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
handlers Add some type hints to datastore (#12423) 2022-04-12 11:54:00 +01:00
http Unify HTTP query parameter type hints (#12415) 2022-04-08 13:06:51 +01:00
logging Add opentracing spans to calls to external cache (#12380) 2022-04-07 13:18:29 +01:00
metrics Update type annotations for compatiblity with prometheus_client 0.14 (#12389) 2022-04-06 12:59:04 +00:00
module_api Add Module API for reading and writing global account data. (#12391) 2022-04-11 10:05:43 +01:00
push Refactor and convert `Linearizer` to async (#12357) 2022-04-05 15:43:52 +01:00
replication Add opentracing spans to calls to external cache (#12380) 2022-04-07 13:18:29 +01:00
res Tweak copy for sso account details template (#12265) 2022-03-22 10:22:25 +00:00
rest Do not add groups to sync results if disabled. (#12408) 2022-04-07 09:29:56 -04:00
server_notices Update the server notices user profile in room if changed. (#12115) 2022-04-08 07:51:27 -04:00
spam_checker_api
state Refactor and convert `Linearizer` to async (#12357) 2022-04-05 15:43:52 +01:00
static
storage Add some type hints to datastore (#12423) 2022-04-12 11:54:00 +01:00
streams Generate historic pagination token for `/messages` when no `?from` token provided (#12370) 2022-04-06 11:40:28 +01:00
util Fix edge case where a `Linearizer` could get stuck (#12358) 2022-04-05 17:19:16 +01:00
__init__.py 1.56.0 2022-04-05 12:44:00 +01:00
event_auth.py
notifier.py
py.typed
python_dependencies.py Specify tls extra for Twisted dependency. (#12444) 2022-04-12 10:49:02 +00:00
server.py Add a relations handler to avoid duplication. (#12227) 2022-03-16 10:39:15 -04:00
types.py Make `StreamToken` and `RoomStreamToken` methods propagate cancellations (#12366) 2022-04-05 16:56:52 +01:00
visibility.py Handle outliers in `/federation/v1/event` (#12332) 2022-03-31 17:39:34 +00:00