From d124d50fafdf882f5594570da23b4360ade2246c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 2 Nov 2023 07:15:53 +0530 Subject: [PATCH] fix type signature --- src/calibre/db/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/db/cache.py b/src/calibre/db/cache.py index 358130c3a2..b6f4744b40 100644 --- a/src/calibre/db/cache.py +++ b/src/calibre/db/cache.py @@ -687,7 +687,7 @@ class Cache: return self.backend.notes_data_for(field, item_id) @read_api - def get_all_items_that_have_notes(self, field_name=None) -> set[int] | dict[str, int]: + def get_all_items_that_have_notes(self, field_name=None) -> set[int] | dict[str, set[int]]: ' Return all item_ids for items that have notes in the specified field or all fields if field_name is None ' return self.backend.get_all_items_that_have_notes(field_name)