We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be11824 commit 0814553Copy full SHA for 0814553
pydantic_settings/sources/types.py
@@ -4,13 +4,13 @@
4
5
from collections.abc import Sequence
6
from pathlib import Path
7
-from typing import TYPE_CHECKING, Any, TypeVar, Union
+from typing import TYPE_CHECKING, Any, Union
8
9
if TYPE_CHECKING:
10
from pydantic._internal._dataclasses import PydanticDataclass
11
from pydantic.main import BaseModel
12
13
- PydanticModel = TypeVar('PydanticModel', bound=Union[PydanticDataclass, BaseModel])
+ PydanticModel = Union[PydanticDataclass, BaseModel]
14
else:
15
PydanticModel = Any
16
0 commit comments