From 4157e514f2c806296117cb22e67362d8a9cbe84f Mon Sep 17 00:00:00 2001 From: Alexsander Hamir Date: Mon, 19 Jan 2026 10:34:08 -0800 Subject: [PATCH] fix: add type annotation for items_to_process to satisfy mypy --- litellm/integrations/gcs_bucket/gcs_bucket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/integrations/gcs_bucket/gcs_bucket.py b/litellm/integrations/gcs_bucket/gcs_bucket.py index f5ff8ea717e..3cb62905531 100644 --- a/litellm/integrations/gcs_bucket/gcs_bucket.py +++ b/litellm/integrations/gcs_bucket/gcs_bucket.py @@ -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())