Glossary: Building APIs with FastAPI
Type hint
Also written: type hints
A Python annotation giving a value's type, such as `product_id: int`. In FastAPI, type hints are instructions that decide how values are converted and checked.
Glossary: Building APIs with FastAPI
Also written: type hints
A Python annotation giving a value's type, such as `product_id: int`. In FastAPI, type hints are instructions that decide how values are converted and checked.