Glossary: Building APIs with FastAPI
Annotated
Also written: typing.Annotated
A Python typing feature meaning 'this type, plus extra information'. Python ignores the extra part and FastAPI reads it, for example `Annotated[int, Query(ge=1)]` or `Annotated[Session, Depends(get_session)]`.