mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
fix python 3.8 Tuple
This commit is contained in:
parent
aa0ed8238b
commit
dabaf5f297
1 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ import json
|
|||
from enum import Enum
|
||||
import requests # type: ignore
|
||||
import time
|
||||
from typing import Callable, Optional, Union, List, Any
|
||||
from typing import Callable, Optional, Union, List, Any, Tuple
|
||||
from litellm.utils import ModelResponse, Usage, CustomStreamWrapper, map_finish_reason
|
||||
import litellm, uuid
|
||||
import httpx, inspect # type: ignore
|
||||
|
|
@ -34,7 +34,7 @@ class VertexLLM(BaseLLM):
|
|||
self._credentials: Optional[Credentials] = None
|
||||
self.project_id: Optional[str] = None
|
||||
|
||||
def load_auth(self) -> tuple[Any, str]:
|
||||
def load_auth(self) -> Tuple[Any, str]:
|
||||
from google.auth.transport.requests import Request # type: ignore[import-untyped]
|
||||
from google.auth.credentials import Credentials # type: ignore[import-untyped]
|
||||
import google.auth as google_auth
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue