|
|
|
|
|
by gaganyaan
1157 days ago
|
|
Type hints are great when using FastAPI. Your inputs are automatically validated, and you get a /docs endpoint that tells people what to expect from your API. I'd say performance is far from the only reason to consider type hints. |
|
[1] https://typer.tiangolo.com/