mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-23 22:29:38 -05:00
d0c713cc85
It's important that collections returned from `@cached` methods are not modified, otherwise future retrievals from the cache will return the modified collection. This applies to the return values from `@cached` methods and the values inside the dictionaries returned by `@cachedList` methods. It's not necessary for the dictionaries returned by `@cachedList` methods themselves to be read-only. Signed-off-by: Sean Quah <seanq@matrix.org> Co-authored-by: David Robertson <davidr@element.io> |
||
---|---|---|
.. | ||
__init__.py | ||
test_admin.py | ||
test_background_updates.py | ||
test_device.py | ||
test_event_reports.py | ||
test_federation.py | ||
test_media.py | ||
test_registration_tokens.py | ||
test_room.py | ||
test_server_notice.py | ||
test_statistics.py | ||
test_user.py | ||
test_username_available.py |