summary refs log tree commit diff
path: root/synapse/util/caches/cached_call.py
diff options
context:
space:
mode:
authorMathieu Velten <mathieuv@matrix.org>2022-11-22 18:10:40 +0100
committerMathieu Velten <mathieuv@matrix.org>2022-11-22 18:10:40 +0100
commit53ca28a657b18f273495c951d607e9d36ed10943 (patch)
treedecc2c888f9804ab0d325192cf51f3754f322d9e /synapse/util/caches/cached_call.py
parentAdd type ignore unused-awaitable to LoopingCall start call (diff)
downloadsynapse-53ca28a657b18f273495c951d607e9d36ed10943.tar.xz
Reformat
Diffstat (limited to 'synapse/util/caches/cached_call.py')
-rw-r--r--synapse/util/caches/cached_call.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/util/caches/cached_call.py b/synapse/util/caches/cached_call.py

index 74b2bc4ebc..4061db56a8 100644 --- a/synapse/util/caches/cached_call.py +++ b/synapse/util/caches/cached_call.py
@@ -89,7 +89,7 @@ class CachedCall(Generic[TV]): def got_result(r: Union[TV, Failure]) -> None: self._result = r - self._deferred.addBoth(got_result) # type: ignore[unused-awaitable] + self._deferred.addBoth(got_result) # type: ignore[unused-awaitable] # TODO: consider cancellation semantics. Currently, if the call to get() # is cancelled, the underlying call will continue (and any future calls