fix: add type annotation for items_to_process to satisfy mypy

This commit is contained in:
Alexsander Hamir 2026-01-19 10:34:08 -08:00
parent 1600f86e40
commit 4157e514f2

View file

@ -112,7 +112,7 @@ class GCSBucketLogger(GCSBucketBase, AdditionalLoggingUtils):
Returns:
List of items to process, up to batch_size items
"""
items_to_process = []
items_to_process: List[GCSLogQueueItem] = []
while len(items_to_process) < self.batch_size:
try:
items_to_process.append(self.log_queue.get_nowait())