forked-synapse/synapse/rest/admin
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
..
__init__.py Prefer type(x) is int to isinstance(x, int) (#14945) 2023-01-31 10:33:07 +00:00
_base.py synapse.api.auth.Auth cleanup: make permission-related methods use Requester instead of the UserID (#13024) 2022-08-22 14:17:59 +01:00
background_updates.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
devices.py Add a type hint for get_device_handler() and fix incorrect types. (#14055) 2022-11-22 14:08:04 -05:00
event_reports.py Add helper to parse an enum from query args & use it. (#14956) 2023-02-01 21:35:24 +00:00
federation.py Add helper to parse an enum from query args & use it. (#14956) 2023-02-01 21:35:24 +00:00
media.py Add helper to parse an enum from query args & use it. (#14956) 2023-02-01 21:35:24 +00:00
registration_tokens.py Prefer type(x) is int to isinstance(x, int) (#14945) 2023-01-31 10:33:07 +00:00
rooms.py Add helper to parse an enum from query args & use it. (#14956) 2023-02-01 21:35:24 +00:00
server_notice_servlet.py Clean up synapse.rest.admin (#11535) 2021-12-08 16:59:40 +00:00
statistics.py Add helper to parse an enum from query args & use it. (#14956) 2023-02-01 21:35:24 +00:00
username_available.py Clean up synapse.rest.admin (#11535) 2021-12-08 16:59:40 +00:00
users.py Add helper to parse an enum from query args & use it. (#14956) 2023-02-01 21:35:24 +00:00