1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/logging/context.py b/synapse/logging/context.py
index 8a2dfeba13..3ef97f23c9 100644
--- a/synapse/logging/context.py
+++ b/synapse/logging/context.py
@@ -40,6 +40,7 @@ from typing import (
Any,
Awaitable,
Callable,
+ Literal,
Optional,
Tuple,
Type,
@@ -49,7 +50,7 @@ from typing import (
)
import attr
-from typing_extensions import Literal, ParamSpec
+from typing_extensions import ParamSpec
from twisted.internet import defer, threads
from twisted.python.threadpool import ThreadPool
|