mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Mark method as being read_api
This commit is contained in:
parent
a54c93a95d
commit
00089388e1
@ -686,6 +686,7 @@ class Cache:
|
|||||||
' Return all notes data as a dict or None if note does not exist '
|
' Return all notes data as a dict or None if note does not exist '
|
||||||
return self.backend.notes_data_for(field, item_id)
|
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, int]:
|
||||||
' Return all item_ids for items that have notes in the specified field or all fields if field_name is None '
|
' 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)
|
return self.backend.get_all_items_that_have_notes(field_name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user