Type Hints
FastAPI - Type Hints
FastAPI makes extensive use of the Type hinting feature made available in Pythons version 3.5 onwards. As a matter of fact, Python is known to be a dynamically typed language. It also happens to be Pythons distinct feature. In a Python code, a variable need not be declared to be belonging to a certain type, and its type is determined dynamically by the instantaneous value assigned to it. Pythons interpreter doesnt perform type checks and hence it is prone to runtime exceptions.