synapse-product/synapse/federation
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
..
sender Improve logging and opentracing for to-device message handling (#14598) 2022-12-06 09:52:55 +00:00
transport Add helper to parse an enum from query args & use it. (#14956) 2023-02-01 21:35:24 +00:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
federation_base.py Reject boolean power levels (#14944) 2023-01-31 10:57:02 +00:00
federation_client.py Add helper to parse an enum from query args & use it. (#14956) 2023-02-01 21:35:24 +00:00
federation_server.py Add helper to parse an enum from query args & use it. (#14956) 2023-02-01 21:35:24 +00:00
persistence.py Remove log_function and its uses (#11761) 2022-01-18 13:06:04 +00:00
send_queue.py Spread out sending device lists to remote hosts (#12132) 2022-03-04 11:48:15 +00:00
units.py Convert Transaction and Edu object to attrs (#10542) 2021-08-06 09:39:59 -04:00