diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-09-15 08:45:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-15 08:45:32 -0400 |
commit | b93259082c7d8d3fe8376a646e130213d90069dc (patch) | |
tree | fe80e790a3f3680a0738523645ac696ee8a92133 /synapse/rest/admin/devices.py | |
parent | Use direct references for some configuration variables (part 2) (#10812) (diff) | |
download | synapse-b93259082c7d8d3fe8376a646e130213d90069dc.tar.xz |
Add missing type hints to non-client REST servlets. (#10817)
Including admin, consent, key, synapse, and media. All REST servlets (the synapse.rest module) now require typed method definitions.
Diffstat (limited to 'synapse/rest/admin/devices.py')
-rw-r--r-- | synapse/rest/admin/devices.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/admin/devices.py b/synapse/rest/admin/devices.py index 5715190a78..a6fa03c90f 100644 --- a/synapse/rest/admin/devices.py +++ b/synapse/rest/admin/devices.py @@ -47,7 +47,7 @@ class DeviceRestServlet(RestServlet): self.store = hs.get_datastore() async def on_GET( - self, request: SynapseRequest, user_id, device_id: str + self, request: SynapseRequest, user_id: str, device_id: str ) -> Tuple[int, JsonDict]: await assert_requester_is_admin(self.auth, request) |