Coverage for fastapi/types.py: 100%
8 statements
« prev ^ index » next coverage.py v7.6.1, created at 2025-05-05 00:03 +0000
« prev ^ index » next coverage.py v7.6.1, created at 2025-05-05 00:03 +0000
1import types 1abcdef
2from enum import Enum 1abcdef
3from typing import Any, Callable, Dict, Set, Type, TypeVar, Union 1abcdef
5from pydantic import BaseModel 1abcdef
7DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any]) 1abcdef
8UnionType = getattr(types, "UnionType", Union) 1abcdef
9ModelNameMap = Dict[Union[Type[BaseModel], Type[Enum]], str] 1abcdef
10IncEx = Union[Set[int], Set[str], Dict[int, Any], Dict[str, Any]] 1abcdef