From 3ce65552f7d459a2edebadb29cf1c17de6a1c742 Mon Sep 17 00:00:00 2001 From: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com> Date: Sat, 15 Aug 2026 10:27:16 -0700 Subject: [PATCH] fix: yield from all_entries() instead of returning (fixes #1447, fixes #1467) --- src/tagstudio/core/library/alchemy/library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tagstudio/core/library/alchemy/library.py b/src/tagstudio/core/library/alchemy/library.py index 5a63d217..7916d699 100644 --- a/src/tagstudio/core/library/alchemy/library.py +++ b/src/tagstudio/core/library/alchemy/library.py @@ -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]: