Skip to content

Commit 14e9f54

Browse files
committed
Fix mypy errors in summary cache fingerprint comparison.
1 parent 02fcb65 commit 14e9f54

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

services/summary_cache.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ def fingerprint_workspace_storage(
8484
}
8585

8686

87-
def _fingerprint_equal(a: dict[str, Any], b: dict[str, Any]) -> bool:
87+
def _fingerprint_equal(a: object, b: dict[str, Any]) -> bool:
88+
if not isinstance(a, dict):
89+
return False
8890
return a == b
8991

9092

0 commit comments

Comments
 (0)