synapse-product/synapse/http
David Robertson d0fed7a37b
Properly typecheck types.http (#14988)
* Tweak http types in Synapse

AFACIS these are correct, and they make mypy happier on tests.http.

* Type hints for test_proxyagent

* type hints for test_srv_resolver

* test_matrix_federation_agent

* tests.http.server._base

* tests.http.__init__

* tests.http.test_additional_resource

* tests.http.test_client

* tests.http.test_endpoint

* tests.http.test_matrixfederationclient

* tests.http.test_servlet

* tests.http.test_simple_client

* tests.http.test_site

* One fixup in tests.server

* Untyped defs

* Changelog

* Fixup syntax for Python 3.7

* Fix olddeps syntax

* Use a twisted IPv4 addr for dummy_address

* Fix typo, thanks Sean

Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>

* Remove redundant `Optional`

---------

Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
2023-02-07 00:20:04 +00:00
..
federation Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +00:00
__init__.py Add missing type hints to synapse.http. (#11571) 2021-12-14 07:00:47 -05:00
additional_resource.py Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +00:00
client.py Properly typecheck types.http (#14988) 2023-02-07 00:20:04 +00:00
connectproxyclient.py Another batch of type annotations (#12726) 2022-05-13 12:35:31 +01:00
matrixfederationclient.py Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +00:00
proxyagent.py Properly typecheck types.http (#14988) 2023-02-07 00:20:04 +00:00
request_metrics.py Reduce the number of "untyped defs" (#12716) 2022-05-12 14:33:50 +00:00
server.py Respond with proper error responses on unknown paths. (#14621) 2022-12-08 11:37:05 -05:00
servlet.py Add helper to parse an enum from query args & use it. (#14956) 2023-02-01 21:35:24 +00:00
site.py Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +00:00
types.py Unify HTTP query parameter type hints (#12415) 2022-04-08 13:06:51 +01:00