@@ -272,7 +272,7 @@ class Configuration(Object[Any]):
272272 ini_files : Optional [_Iterable [Union [Path , str ]]] = None ,
273273 yaml_files : Optional [_Iterable [Union [Path , str ]]] = None ,
274274 json_files : Optional [_Iterable [Union [Path , str ]]] = None ,
275- pydantic_settings : Optional [_Iterable [PydanticSettings ]] = None ,
275+ pydantic_settings : Optional [_Iterable [Union [ PydanticSettings , Type [ PydanticSettings ]] ]] = None ,
276276 ) -> None : ...
277277 def __enter__ (self ) -> _Self : ...
278278 def __exit__ (self , * exc_info : Any ) -> None : ...
@@ -292,8 +292,8 @@ class Configuration(Object[Any]):
292292 def set_yaml_files (self , files : _Iterable [Union [Path , str ]]) -> _Self : ...
293293 def get_json_files (self ) -> _List [Union [Path , str ]]: ...
294294 def set_json_files (self , files : _Iterable [Union [Path , str ]]) -> _Self : ...
295- def get_pydantic_settings (self ) -> _List [PydanticSettings ]: ...
296- def set_pydantic_settings (self , settings : _Iterable [PydanticSettings ]) -> _Self : ...
295+ def get_pydantic_settings (self ) -> _List [Union [ PydanticSettings , Type [ PydanticSettings ]] ]: ...
296+ def set_pydantic_settings (self , settings : _Iterable [Union [ PydanticSettings , Type [ PydanticSettings ]] ]) -> _Self : ...
297297 def load (self , required : bool = False , envs_required : bool = False ) -> None : ...
298298 def get (self , selector : str ) -> Any : ...
299299 def set (self , selector : str , value : Any ) -> OverridingContext [P ]: ...
@@ -319,7 +319,7 @@ class Configuration(Object[Any]):
319319 envs_required : bool = False ,
320320 ) -> None : ...
321321 def from_pydantic (
322- self , settings : PydanticSettings , required : bool = False , ** kwargs : Any
322+ self , settings : Union [ PydanticSettings , Type [ PydanticSettings ]] , required : bool = False , ** kwargs : Any
323323 ) -> None : ...
324324 def from_dict (self , options : _Dict [str , Any ], required : bool = False ) -> None : ...
325325 def from_env (
0 commit comments