Browse Source

docs: add module-level docstring to types module

Documents the internal type aliases used throughout FastAPI, including
DecoratedCallable, UnionType, ModelNameMap, and DependencyCacheKey.
pull/15653/head
SUPREME 5 days ago
parent
commit
0db2b07dc6
  1. 8
      fastapi/types.py

8
fastapi/types.py

@ -1,3 +1,11 @@
"""
Internal type aliases for FastAPI.
Provides shared type definitions used throughout the framework, including
the decorated callable type variable, union type compatibility shim, and
Pydantic model name mapping types.
"""
import types
from collections.abc import Callable
from enum import Enum

Loading…
Cancel
Save