mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
b742c6f527
* Infer root type from Annotated * Extract Field from Annotated * Add changelog * Extend existing get_args/get_origin * Fix Annotated on py3.6 without typing-extensions * Handle Ellipsis default * Fix field reuse after FieldInfo.default mutation * Fix ci
227 B
227 B
Support typing.Annotated hints on model fields. A Field may now be set in the type hint with Annotated[..., Field(...); all other annotations are ignored but still visible with get_type_hints(..., include_extras=True).