diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-03-01 12:23:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-01 12:23:46 -0500 |
commit | a0bc9d387e7823e64a8c382a10ccc73194494647 (patch) | |
tree | fce43c38aecca7943bb7ee3a14e19b0bd3fb610c /synapse/rest/media/v1/config_resource.py | |
parent | Allow bytecode again (#9502) (diff) | |
download | synapse-a0bc9d387e7823e64a8c382a10ccc73194494647.tar.xz |
Use the proper Request in type hints. (#9515)
This also pins the Twisted version in the mypy job for CI until proper type hints are fixed throughout Synapse.
Diffstat (limited to 'synapse/rest/media/v1/config_resource.py')
-rw-r--r-- | synapse/rest/media/v1/config_resource.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/config_resource.py b/synapse/rest/media/v1/config_resource.py index 4e4c6971f7..9039662f7e 100644 --- a/synapse/rest/media/v1/config_resource.py +++ b/synapse/rest/media/v1/config_resource.py @@ -17,7 +17,7 @@ from typing import TYPE_CHECKING -from twisted.web.http import Request +from twisted.web.server import Request from synapse.http.server import DirectServeJsonResource, respond_with_json |