MatrixSynapse/synapse/storage
David Robertson e8269ed391
Type hints for tests.appservice (#14990)
* Accept a Sequence of events in synapse.appservice

This avoids some casts/ignores in the tests I'm about to fixup. It seems
that `List[Mock]` is not a subtype of `List[EventBase]`, but
`Sequence[Mock]` is a subtype of `Sequence[EventBase]`. So presumably
`Mock` is considered a subtype of anything, much like `Any`.

* make tests.appservice.test_scheduler pass mypy

* Extra hints in tests.appservice.test_scheduler

* Extra hints in tests.appservice.test_api

* Extra hints in tests.appservice.test_appservice

* Disallow untyped defs

* Changelog
2023-02-06 12:49:06 +00:00
..
controllers Faster joins: Refactor handling of servers in room (#14954) 2023-02-03 15:39:59 +00:00
databases Type hints for tests.appservice (#14990) 2023-02-06 12:49:06 +00:00
engines Make sqlite database migrations transactional again, part two (#14926) 2023-01-31 11:03:55 +00:00
schema Drop unused table `presence` (#14825) 2023-01-13 14:17:03 +00:00
util Always notify replication when a stream advances (#14877) 2023-01-20 18:02:18 +00:00
__init__.py
_base.py
background_updates.py
database.py Batch look-ups to see if rooms are partial stated. (#14917) 2023-01-26 17:15:36 +00:00
keys.py
prepare_database.py
push_rule.py
roommember.py
types.py