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)
.
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)
.