summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2022-07-15 16:30:56 +0100
committerErik Johnston <erik@matrix.org>2022-07-15 16:30:56 +0100
commit23c2f394a55f9f3965f3e13cf01c4912545738d1 (patch)
treecafb230a09f644a92b77a8359781aaab379c3565
parentdon't update access (diff)
downloadsynapse-23c2f394a55f9f3965f3e13cf01c4912545738d1.tar.xz
Fix mypy
-rw-r--r--synapse/util/caches/lrucache.py2
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]:
             ...