mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-22 00:31:44 +00:00
fix: add type annotation for items_to_process to satisfy mypy
This commit is contained in:
parent
1600f86e40
commit
4157e514f2
1 changed files with 1 additions and 1 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue