diff --git a/sdks/python/src/opik/config.py b/sdks/python/src/opik/config.py index d6f432313..a74a0d3b4 100644 --- a/sdks/python/src/opik/config.py +++ b/sdks/python/src/opik/config.py @@ -1,7 +1,7 @@ import configparser import logging import pathlib -from typing import Any, Dict, Final, List, Literal, Optional, Tuple, Type, Union, Type +from typing import Any, Dict, Final, List, Literal, Optional, Tuple, Type, Union import pydantic_settings from pydantic_settings import BaseSettings, InitSettingsSource @@ -36,7 +36,7 @@ class IniConfigSettingsSource(InitSettingsSource, ConfigFileSourceMixin): def __init__( self, - settings_cls: Any, + settings_cls: Type[BaseSettings], ): self.ini_data = self._read_files(CONFIG_FILE_PATH_DEFAULT) super().__init__(settings_cls, self.ini_data)