synapse-old/synapse/federation/transport
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
..
server Add helper to parse an enum from query args & use it. (#14956) 2023-02-01 21:35:24 +00:00
__init__.py
client.py Add helper to parse an enum from query args & use it. (#14956) 2023-02-01 21:35:24 +00:00