MatrixSynapse/synapse/storage/databases/main
David Robertson 1026776380
mypy plugin to check `@cached` return types (#14911)
Co-authored-by: David Robertson <davidr@element.io>
Co-authored-by: Patrick Cloke <patrickc@matrix.org>
Co-authored-by: Erik Johnston <erik@matrix.org>

Assert that the return type of callables wrapped in @cached
and @cachedList are cachable (aka immutable).
2023-10-02 14:22:36 +00:00
..
__init__.py
account_data.py
appservice.py Return immutable objects for cachedList decorators (#16350) 2023-09-19 15:26:44 -04:00
cache.py
censor_events.py
client_ips.py
deviceinbox.py
devices.py Return immutable objects for cachedList decorators (#16350) 2023-09-19 15:26:44 -04:00
directory.py
e2e_room_keys.py
end_to_end_keys.py Return immutable objects for cachedList decorators (#16350) 2023-09-19 15:26:44 -04:00
event_federation.py
event_push_actions.py mypy plugin to check `@cached` return types (#14911) 2023-10-02 14:22:36 +00:00
events.py
events_bg_updates.py
events_forward_extremities.py
events_worker.py Return immutable objects for cachedList decorators (#16350) 2023-09-19 15:26:44 -04:00
experimental_features.py
filtering.py Convert more cached return values to immutable types (#16356) 2023-09-20 07:48:55 -04:00
keys.py Return immutable objects for cachedList decorators (#16350) 2023-09-19 15:26:44 -04:00
lock.py
media_repository.py
metrics.py
monthly_active_users.py
openid.py
presence.py Return immutable objects for cachedList decorators (#16350) 2023-09-19 15:26:44 -04:00
profile.py
purge_events.py
push_rule.py Implement MSC4028: push all encrypted events. (#16361) 2023-09-26 11:52:19 -04:00
pusher.py
receipts.py Return immutable objects for cachedList decorators (#16350) 2023-09-19 15:26:44 -04:00
registration.py
rejections.py
relations.py mypy plugin to check `@cached` return types (#14911) 2023-10-02 14:22:36 +00:00
room.py
roommember.py mypy plugin to check `@cached` return types (#14911) 2023-10-02 14:22:36 +00:00
search.py
session.py
signatures.py
state.py Return immutable objects for cachedList decorators (#16350) 2023-09-19 15:26:44 -04:00
state_deltas.py
stats.py
stream.py
tags.py
task_scheduler.py
transactions.py Return immutable objects for cachedList decorators (#16350) 2023-09-19 15:26:44 -04:00
ui_auth.py
user_directory.py
user_erasure_store.py Return immutable objects for cachedList decorators (#16350) 2023-09-19 15:26:44 -04:00