synapse-product/synapse/handlers
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
..
ui_auth Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
account_data.py Add a module callback to react to account data changes (#12327) 2022-04-01 11:22:48 +02:00
account_validity.py Add some type hints to datastore (#12423) 2022-04-12 11:54:00 +01:00
account.py Optionally include account validity in MSC3720 account status responses (#12266) 2022-03-24 11:19:41 +01:00
admin.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
appservice.py Refactor and convert Linearizer to async (#12357) 2022-04-05 15:43:52 +01:00
auth.py Add a callback to react to 3PID associations (#12302) 2022-03-31 18:27:21 +02:00
cas.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
deactivate_account.py Add third_party module callbacks to check if a user can delete a room and deactivate a user (#12028) 2022-03-09 18:23:57 +00:00
device.py Refactor and convert Linearizer to async (#12357) 2022-04-05 15:43:52 +01:00
devicemessage.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
directory.py Rename various ApplicationServices interested methods (#11915) 2022-03-03 18:14:09 +00:00
e2e_keys.py Refactor and convert Linearizer to async (#12357) 2022-04-05 15:43:52 +01:00
e2e_room_keys.py Refactor and convert Linearizer to async (#12357) 2022-04-05 15:43:52 +01:00
event_auth.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
events.py Use the proper serialization format when bundling aggregations. (#12090) 2022-03-03 10:43:06 -05:00
federation_event.py Refactor and convert Linearizer to async (#12357) 2022-04-05 15:43:52 +01:00
federation.py Refactor and convert Linearizer to async (#12357) 2022-04-05 15:43:52 +01:00
groups_local.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
identity.py Remove support for the unstable identifier from MSC3288. (#12398) 2022-04-06 13:27:46 -04:00
initial_sync.py Use ParamSpec in type hints for synapse.logging.context (#12150) 2022-03-08 15:58:14 +00:00
message.py Refactor and convert Linearizer to async (#12357) 2022-04-05 15:43:52 +01:00
oidc.py Implement a Jinja2 filter to extract localparts from email addresses (#12212) 2022-03-11 15:15:11 +00:00
pagination.py Generate historic pagination token for /messages when no ?from token provided (#12370) 2022-04-06 11:40:28 +01:00
password_policy.py Use direct references for some configuration variables (part 3) (#10885) 2021-09-23 07:13:34 -04:00
presence.py Refactor and convert Linearizer to async (#12357) 2022-04-05 15:43:52 +01:00
profile.py Always allow the empty string as an avatar_url. (#12261) 2022-03-25 13:28:42 +00:00
read_marker.py Refactor and convert Linearizer to async (#12357) 2022-04-05 15:43:52 +01:00
receipts.py Rename various ApplicationServices interested methods (#11915) 2022-03-03 18:14:09 +00:00
register.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
relations.py Do not consider events by ignored users for bundled aggregations (#12235) 2022-04-11 10:09:57 -04:00
room_batch.py Allow non-member state sent in room batch to resolve for historic events (MSC2716) (#12329) 2022-04-04 14:54:50 -05:00
room_list.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
room_member_worker.py Implement knock feature (#6739) 2021-06-09 19:39:51 +01:00
room_member.py Refactor and convert Linearizer to async (#12357) 2022-04-05 15:43:52 +01:00
room_summary.py Do not return allowed_room_ids from /hierarchy response. (#12175) 2022-03-08 08:09:11 -05:00
room.py Generate historic pagination token for /messages when no ?from token provided (#12370) 2022-04-06 11:40:28 +01:00
saml.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
search.py Remove experimental configuration flag for MSC3666. (#12436) 2022-04-11 15:37:46 -04:00
send_email.py Remove unnecessary ignores due to Twisted upgrade. (#11939) 2022-02-08 09:15:59 -05:00
set_password.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
sso.py Refactor and convert Linearizer to async (#12357) 2022-04-05 15:43:52 +01:00
state_deltas.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
stats.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
sync.py Fix rejecting invites over federation (#12409) 2022-04-07 15:54:16 +01:00
typing.py Improve code documentation for the typing stream over replication. (#12211) 2022-03-11 14:00:15 +00:00
user_directory.py Correct check_username_for_spam annotations and docs (#12246) 2022-03-18 13:51:41 +00:00