mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-25 02:55:46 +03:00
6ba732fefe
* 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
1 line
39 B
Text
1 line
39 B
Text
Add type annotations to `tests.utils`.
|