From 789a9c8f63a8a7d736a53a4737d1ff5d2acfbd4a Mon Sep 17 00:00:00 2001 From: Thomas Lemoine Date: Thu, 31 Aug 2023 14:50:14 -0400 Subject: [PATCH] revert type annotation change --- align_data/common/alignment_dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/align_data/common/alignment_dataset.py b/align_data/common/alignment_dataset.py index 5613cb5..aea3b5a 100644 --- a/align_data/common/alignment_dataset.py +++ b/align_data/common/alignment_dataset.py @@ -189,7 +189,7 @@ def unprocessed_items(self, items=None) -> list | filter: return items_to_process - def fetch_entries(self): + def fetch_entries(self) -> Generator[Article, None, None]: """Get all entries to be written to the file.""" for item in tqdm(self.unprocessed_items(), desc=f"Processing {self.name}"): entry = self.process_entry(item)