MatrixSynapse/synapse
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
..
_scripts
api Convert more cached return values to immutable types (#16356) 2023-09-20 07:48:55 -04:00
app Make cached account data/tags/admin types immutable (#16325) 2023-09-18 09:55:04 -04:00
appservice Return immutable objects for cachedList decorators (#16350) 2023-09-19 15:26:44 -04:00
config Implement MSC4028: push all encrypted events. (#16361) 2023-09-26 11:52:19 -04:00
crypto
events Add a cache around server ACL checking (#16360) 2023-09-26 11:57:50 -04:00
federation Add a cache around server ACL checking (#16360) 2023-09-26 11:57:50 -04:00
handlers mypy plugin to check `@cached` return types (#14911) 2023-10-02 14:22:36 +00:00
http Add support for pydantic v2 via pydantic.v1 compat module (#16332) 2023-09-25 15:19:08 +00:00
logging
media Support rendering some media downloads as inline (#15988) 2023-09-29 07:19:38 -04:00
metrics Only use literal strings for process names (#16315) 2023-09-15 09:10:24 +01:00
module_api Add automatic purge after all users forget a room (#15488) 2023-09-15 15:37:44 +02:00
push Return immutable objects for cachedList decorators (#16350) 2023-09-19 15:26:44 -04:00
replication Downgrade repl stream time out error to warning (#16401) 2023-09-29 11:52:48 +00:00
res
rest Remove Python version from `/_synapse/admin/v1/server_version` (#16380) 2023-10-02 09:07:53 -04:00
server_notices Refactor `get_user_by_id` (#16316) 2023-09-14 12:46:30 +01:00
spam_checker_api
state Improve state types. (#16395) 2023-09-28 07:01:46 -04:00
static
storage mypy plugin to check `@cached` return types (#14911) 2023-10-02 14:22:36 +00:00
streams
types Refactor `get_user_by_id` (#16316) 2023-09-14 12:46:30 +01:00
util mypy plugin to check `@cached` return types (#14911) 2023-10-02 14:22:36 +00:00
__init__.py
_pydantic_compat.py Add support for pydantic v2 via pydantic.v1 compat module (#16332) 2023-09-25 15:19:08 +00:00
event_auth.py
notifier.py
py.typed
server.py
visibility.py