🏷️ Re-export `IncEx` type from Pydantic instead of duplicating it (#14641)

This commit is contained in:
mvanderlee 2026-02-04 14:34:01 +01:00 committed by GitHub
parent a1bb70e5a5
commit 0748214c43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -3,9 +3,9 @@ from enum import Enum
from typing import Any, Callable, Optional, TypeVar, Union
from pydantic import BaseModel
from pydantic.main import IncEx as IncEx
DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any])
UnionType = getattr(types, "UnionType", Union)
ModelNameMap = dict[Union[type[BaseModel], type[Enum]], str]
IncEx = Union[set[int], set[str], dict[int, Any], dict[str, Any]]
DependencyCacheKey = tuple[Optional[Callable[..., Any]], tuple[str, ...], str]