fix type signature

This commit is contained in:
Kovid Goyal 2023-11-02 07:15:53 +05:30
parent 3eb15353ec
commit d124d50faf
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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)