diff options
-rw-r--r-- | synapse/util/caches/dictionary_cache.py | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/synapse/util/caches/dictionary_cache.py b/synapse/util/caches/dictionary_cache.py index ef4483421e..810b8bb716 100644 --- a/synapse/util/caches/dictionary_cache.py +++ b/synapse/util/caches/dictionary_cache.py @@ -14,20 +14,10 @@ import enum import logging import threading -from typing import ( - Any, - Dict, - Generic, - Iterable, - Literal, - Optional, - Set, - Tuple, - TypeVar, - Union, -) +from typing import Any, Dict, Generic, Iterable, Optional, Set, Tuple, TypeVar, Union import attr +from typing_extensions import Literal from synapse.util.caches.lrucache import LruCache from synapse.util.caches.treecache import TreeCache, iterate_tree_cache_items |