summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Gliech <quenting@element.io>2024-07-08 12:17:49 +0200
committerQuentin Gliech <quenting@element.io>2024-07-08 12:17:49 +0200
commitee0cd1a1e699413aacc4bd4fdb1e69acd041a5cd (patch)
treec6960a4faaa9233e200abe168c0ebae3494334e8
parentNewsfile. (diff)
downloadsynapse-ee0cd1a1e699413aacc4bd4fdb1e69acd041a5cd.tar.xz
Import `cast` from `typing` instead of `typing_extensions`.
-rw-r--r--synapse/rest/client/auth_issuer.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/rest/client/auth_issuer.py b/synapse/rest/client/auth_issuer.py
index d630724e2b..acd0399d85 100644
--- a/synapse/rest/client/auth_issuer.py
+++ b/synapse/rest/client/auth_issuer.py
@@ -13,9 +13,7 @@
 # limitations under the License.
 import logging
 import typing
-from typing import Tuple
-
-from typing_extensions import cast
+from typing import Tuple, cast
 
 from synapse.api.errors import Codes, SynapseError
 from synapse.http.server import HttpServer