From f20820fd00a399b6987696a40be406178da9c7fa Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Mon, 13 Nov 2023 14:52:27 -0800 Subject: [PATCH] fix(main.py): fix linting errors --- litellm/main.py | 2 +- litellm/utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/litellm/main.py b/litellm/main.py index 9d608d595d..8863397bf0 100644 --- a/litellm/main.py +++ b/litellm/main.py @@ -84,7 +84,7 @@ class LiteLLM: def __init__(self, *, api_key=None, organization: str | None = None, - base_url: str = None, + base_url: str | None = None, timeout: Union[float, None] = 600, max_retries: int | None = litellm.num_retries, default_headers: Mapping[str, str] | None = None,): diff --git a/litellm/utils.py b/litellm/utils.py index 6f6af3748a..36c6b04598 100644 --- a/litellm/utils.py +++ b/litellm/utils.py @@ -53,7 +53,7 @@ from .exceptions import ( APIError, BudgetExceededError ) -from typing import cast, List, Dict, Union, Optional, Literal, TypedDict, Required +from typing import cast, List, Dict, Union, Optional, Literal from .caching import Cache ####### ENVIRONMENT VARIABLES ####################