synapse-product/synapse
David Robertson 4c96ce396e
Misc typing fixes for tests, part 1 of N (#11323)
* Annotate HomeserverTestCase.servlets
* Correct annotation of federation_auth_origin
* Use AnyStr custom_headers instead of a Union

This allows (str, str) and (bytes, bytes).
This disallows (str, bytes) and (bytes, str)

* DomainSpecificString.SIGIL is a ClassVar
2021-11-12 15:50:54 +00:00
..
_scripts Add type hints to synapse._scripts (#11297) 2021-11-10 17:55:32 +00:00
api Support filtering by relations per MSC3440 (#11236) 2021-11-09 08:10:58 -05:00
app Add missing type hints to synapse.app. (#11287) 2021-11-10 15:06:54 -05:00
appservice Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00
config Default value for public_baseurl (#11210) 2021-11-08 14:13:10 +00:00
crypto Fetch verify key locally rather than trying to do so over federation if origin and host are the same. (#11129) 2021-10-28 10:27:17 -07:00
events Get db signatures file to pass mypy (#11312) 2021-11-11 17:04:44 +00:00
federation Split out federated PDU retrieval into a non-cached version (#11242) 2021-11-09 15:07:57 -06:00
groups Use direct references for configuration variables (part 4). (#10893) 2021-09-23 12:03:01 -04:00
handlers Convert delete room admin API to async endpoint (#11223) 2021-11-12 12:35:31 +00:00
http Add more type hints to synapse.util. (#11321) 2021-11-12 13:43:06 +00:00
logging Add missing type hints to synapse.app. (#11287) 2021-11-10 15:06:54 -05:00
metrics Add metrics to the threadpools (#11178) 2021-11-01 11:21:36 +00:00
module_api Add missing type hints to synapse.app. (#11287) 2021-11-10 15:06:54 -05:00
push Add remaining type hints to synapse.events. (#11098) 2021-11-02 09:55:52 -04:00
replication Add missing type hints to synapse.app. (#11287) 2021-11-10 15:06:54 -05:00
res Allow configuration of the oEmbed URLs. (#10714) 2021-08-31 18:37:07 -04:00
rest Misc typing fixes for tests, part 1 of N (#11323) 2021-11-12 15:50:54 +00:00
server_notices disallow-untyped-defs for synapse.server_notices (#11021) 2021-10-07 19:55:15 +01:00
spam_checker_api Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
state Add remaining type hints to synapse.events. (#11098) 2021-11-02 09:55:52 -04:00
static Display an error page during failure of fallback UIA. (#10561) 2021-08-18 08:13:35 -04:00
storage Annotations for user_erasure_store (#11313) 2021-11-11 19:22:19 +00:00
streams Remove unnecessary parentheses around tuples returned from methods (#10889) 2021-09-23 11:59:07 +01:00
util Add more type hints to synapse.util. (#11321) 2021-11-12 13:43:06 +00:00
__init__.py 1.47.0rc2 2021-11-10 09:44:38 +00:00
event_auth.py Check *all* auth events for room id and rejection (#11009) 2021-10-18 18:28:30 +01:00
notifier.py Fix providing a RoomStreamToken instance to _notify_app_services_ephemeral (#11137) 2021-11-02 10:39:02 +00:00
py.typed Mark Module API error imports as re-exported and mark Synapse as containing type annotations (#11054) 2021-10-13 08:42:41 +01:00
python_dependencies.py Validate new m.room.power_levels events (#10232) 2021-08-26 17:07:58 +01:00
server.py Add missing type hints to synapse.app. (#11287) 2021-11-10 15:06:54 -05:00
types.py Misc typing fixes for tests, part 1 of N (#11323) 2021-11-12 15:50:54 +00:00
visibility.py [pyupgrade] synapse/ (#10348) 2021-07-19 15:28:05 +01:00