anonymousland-synapse/synapse/util
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
..
caches Type tests.utils (#13028) 2022-07-05 15:13:47 +01:00
__init__.py Type tests.utils (#13028) 2022-07-05 15:13:47 +01:00
async_helpers.py Immediately retry any requests that have backed off when a server comes back online. (#12500) 2022-05-10 10:39:54 +01:00
batching_queue.py
check_dependencies.py
daemonize.py
distributor.py Use ParamSpec in a few places (#12667) 2022-05-09 10:27:39 +00:00
file_consumer.py
frozenutils.py
gai_resolver.py
hash.py
httpresourcetree.py
iterutils.py
linked_list.py
logcontext.py
logformatter.py
macaroons.py Move the "email unsubscribe" resource, refactor the macaroon generator & simplify the access token verification logic. (#12986) 2022-06-14 09:12:08 -04:00
manhole.py
metrics.py Use ParamSpec in a few places (#12667) 2022-05-09 10:27:39 +00:00
module_loader.py
msisdn.py
patch_inline_callbacks.py Use ParamSpec in a few places (#12667) 2022-05-09 10:27:39 +00:00
ratelimitutils.py
retryutils.py Fix RetryDestinationLimiter re-starting finished log contexts (#12803) 2022-05-19 20:17:10 +01:00
rlimit.py
stringutils.py Discard null-containing strings before updating the user directory (#12762) 2022-05-18 11:28:14 +01:00
templates.py
threepids.py
wheel_timer.py Prevent memory leak from reoccurring when presence is disabled. (#12656) 2022-05-06 16:41:57 +00:00