Skip to content

Commit a3dab08

Browse files
snus-kinCopilot
andauthored
Update src/resolver_athena_client/client/transformers/worker_batcher.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 89a011f commit a3dab08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/resolver_athena_client/client/transformers/worker_batcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ async def _collect_processed_items(self) -> None:
208208
# Add to batch
209209
self.processed_items.append(processed_item)
210210

211-
except asyncio.TimeoutError: # noqa: PERF203 Needed for timeout handling
211+
except asyncio.TimeoutError: # noqa: PERF203 Exception used in control flow to detect empty queue
212212
# No items available, continue waiting
213213
if self.source_exhausted and self.output_queue.empty():
214214
break

0 commit comments

Comments
 (0)