in content_api.py [0:0]
def items(self) -> Iterator[tuple[str, ProcessorPart]]:
"""Yields tuples of mime_type and part.
It is allowed to modify parts inplace except changing their IDs. Though
bear in mind that like with most of Python containers that would change the
part in all ProcessorContent containers which hold it.
Yields:
Tuples of mime_type, part.
"""
for p in self.all_parts:
yield p.mimetype, p