def __iter__(self) -> Iterator[Content]:
    """Yields the contents in the view."""
    for content in self._document:
      if self._exclude_tags and content.tags & self._exclude_tags:
        continue
      elif self._include_tags and not content.tags & self._include_tags:
        continue
      else:
        yield content
Yields the contents in the view.
concordia/document/document.py