synapse-product/synapse/http
Patrick Cloke 1182ae5063
Add helper to parse an enum from query args & use it. (#14956)
The `parse_enum` helper pulls an enum value from the query string
(by delegating down to the parse_string helper with values generated
from the enum).

This is used to pull out "f" and "b" in most places and then we thread
the resulting Direction enum throughout more code.
2023-02-01 21:35:24 +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 Improve RawHeaders type hints (#14303) 2022-10-28 16:04:02 +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 Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +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