fix: yield from all_entries() instead of returning (fixes #1447, fixes #1467)

This commit is contained in:
Travis Abendshien
2026-08-15 10:27:16 -07:00
parent 49e320618c
commit 3ce65552f7
@@ -699,7 +699,7 @@ class Library:
def all_entries(self, with_joins: bool = False) -> Iterator[Entry]:
"""Load entries without joins."""
with Session(self.engine) as session:
return Library._all_entries(session, with_joins)
yield from Library._all_entries(session, with_joins)
@property
def tags(self) -> list[Tag]: