diff options
author | Erik Johnston <erik@matrix.org> | 2022-07-15 16:30:56 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2022-07-15 16:30:56 +0100 |
commit | 23c2f394a55f9f3965f3e13cf01c4912545738d1 (patch) | |
tree | cafb230a09f644a92b77a8359781aaab379c3565 | |
parent | don't update access (diff) | |
download | synapse-23c2f394a55f9f3965f3e13cf01c4912545738d1.tar.xz |
Fix mypy
-rw-r--r-- | synapse/util/caches/lrucache.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/util/caches/lrucache.py b/synapse/util/caches/lrucache.py index aab0d1c7e2..def7d5e8cb 100644 --- a/synapse/util/caches/lrucache.py +++ b/synapse/util/caches/lrucache.py @@ -541,6 +541,7 @@ class LruCache(Generic[KT, VT]): default: Literal[None] = None, callbacks: Collection[Callable[[], None]] = ..., update_metrics: bool = ..., + update_last_access: bool = ..., ) -> Optional[VT]: ... @@ -550,6 +551,7 @@ class LruCache(Generic[KT, VT]): default: T, callbacks: Collection[Callable[[], None]] = ..., update_metrics: bool = ..., + update_last_access: bool = ..., ) -> Union[T, VT]: ... |