MatrixSynapse/synapse/util/caches
David Robertson 6ba732fefe
Type `tests.utils` (#13028)
* Cast to postgres types when handling postgres db

* Remove unused method

* Easy annotations

* Annotate create_room

* Use `ParamSpec` to annotate looping_call

* Annotate `default_config`

* Track `now` as a float

`time_ms` returns an int like the proper Synapse `Clock`

* Introduce a `Timer` dataclass

* Introduce a Looper type

* Suppress checking of a mock

* tests.utils is typed

* Changelog

* Whoops, import ParamSpec from typing_extensions

* ditch the psycopg2 casts
2022-07-05 15:13:47 +01:00
..
__init__.py
cached_call.py
deferred_cache.py
descriptors.py Fix caching behavior for relations push rules. (#12859) 2022-05-25 07:49:54 -04:00
dictionary_cache.py
expiringcache.py
lrucache.py Type `tests.utils` (#13028) 2022-07-05 15:13:47 +01:00
response_cache.py
stream_change_cache.py
treecache.py
ttlcache.py