MCPcopy
hub / github.com/beetbox/beets / items

Method items

beets/dbcore/db.py:549–554  ·  view source on GitHub ↗

Iterate over (key, value) pairs that this object contains. Computed fields are not included.

(self)

Source from the content-addressed store, hash-verified

547 self[key] = value
548
549 def items(self) -> Iterator[tuple[str, Any]]:
550 """Iterate over (key, value) pairs that this object contains.
551 Computed fields are not included.
552 """
553 for key in self:
554 yield key, self[key]
555
556 def __contains__(self, key) -> bool:
557 """Determine whether `key` is an attribute on this object."""

Callers 15

__str__Method · 0.45
mediafile.pyFile · 0.45
wrapperMethod · 0.45
named_queriesFunction · 0.45
duplicate_itemsMethod · 0.45
remove_duplicatesMethod · 0.45
set_fieldsMethod · 0.45
find_duplicatesMethod · 0.45
record_replacedMethod · 0.45
find_duplicatesMethod · 0.45
set_fieldsMethod · 0.45
query_tasksFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected