linting type fixes

This commit is contained in:
ishaan-jaff 2023-08-18 11:36:06 -07:00
parent fbcb6d1c20
commit 5e7d22512d
6 changed files with 13 additions and 12 deletions

View file

@ -21,7 +21,7 @@ from .exceptions import (
ServiceUnavailableError,
OpenAIError,
)
from typing import List, Dict, Union
from typing import List, Dict, Union, Optional
####### ENVIRONMENT VARIABLES ###################
dotenv.load_dotenv() # Loading env variables using dotenv
@ -35,10 +35,10 @@ heliconeLogger = None
aispendLogger = None
berrispendLogger = None
supabaseClient = None
callback_list = []
callback_list: Optional[List[str]] = []
user_logger_fn = None
additional_details = {}
local_cache = {}
additional_details: Optional[Dict[str, str]] = {}
local_cache: Optional[Dict[str, str]] = {}
######## Model Response #########################
# All liteLLM Model responses will be in this format, Follows the OpenAI Format