-
- Downloads
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
Showing
- changelog.d/13028.misc 1 addition, 0 deletionschangelog.d/13028.misc
- mypy.ini 3 additions, 0 deletionsmypy.ini
- synapse/util/__init__.py 5 additions, 1 deletionsynapse/util/__init__.py
- synapse/util/caches/lrucache.py 1 addition, 1 deletionsynapse/util/caches/lrucache.py
- tests/utils.py 92 additions, 44 deletionstests/utils.py
Loading
Please register or sign in to comment