DEV Community

Discussion on: Migrating a Super Simple CRUD App from Flask to FastAPI

Collapse
 
narenandu profile image
Narendra Kumar Vadapalli

Flask==2.0.0 also provides the app.get, app.post etc... Probably swagger is the only built in advantage here? Plugins like Flask-RestX provide the swagger functionality but with additional boilerplate. In that sense FastAPI is cleaner w.r.t documentation

Collapse
 
zayyadi profile image
zayyadi

Asynchronous support in FastAPI made it clear of Flask for API development

Collapse
 
sylflo profile image
Sylvain Chateau

I think Flask supports async since the version 2

Thread Thread
 
zayyadi profile image
zayyadi

Yeah, not as extensive as FastAPI