From 215f19440c4d08f6b33a4b951aba6c1a8c882866 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Tue, 28 May 2024 17:25:08 -0700 Subject: [PATCH] fix python3.8 error --- litellm/batches/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/batches/main.py b/litellm/batches/main.py index 119043e4c1f..917ad45e10c 100644 --- a/litellm/batches/main.py +++ b/litellm/batches/main.py @@ -87,7 +87,7 @@ def create_file( extra_headers: Optional[Dict[str, str]] = None, extra_body: Optional[Dict[str, str]] = None, **kwargs, -) -> Union[FileObject | Coroutine[Any, Any, FileObject]]: +) -> Union[FileObject, Coroutine[Any, Any, FileObject]]: """ Files are used to upload documents that can be used with features like Assistants, Fine-tuning, and Batch API.