I just took a look at FastAPI and what all the hype is about. Having used API frameworks like Falcon before, I was wondering, what does it do more or different. Apparently one gets Swagger API docs out of the box and that's it. Then I took a look at the git repo and readme. It states: "FastAPI is a modern, fast (high-performance), web framework for building APIs with Python based on standard Python type hints." -- But in its dependencies is pydantic ... [1/2]
So it's not based on standard type hints. Pydantic is a huge dependency. If they are advertising for the user to do things with standard type hints, then I don't understand it either: You get pydantic through the rear, as a dependency of FastAPI and I can use standard type hints by default, if I am not doing something very bad. What is the positive point here?
Compare that with Falcon, which has zero dependencies.
[2/2]