Answer the question
In order to leave comments, you need to log in
Ways to build an API with Flask?
Help me figure it out, there is a restfull for building an API, I started to figure it out and came across marshmallow and got a little confused. Restfull serializes data out of the box, is it self-sufficient for full API writing? I just find examples of using Marshmallow in parallel with Restfull, and I don’t quite catch up with why it is needed?
Answer the question
In order to leave comments, you need to log in
Read the documentation for Flask-Restfull, it says in English that they plan to remove all the functionality responsible for parsing REST requests and plan to replace the corresponding section of the documentation with a description of integration with other libraries (for example, with marshmallow).
Warning
The whole request parser part of Flask-RESTful is slated for removal and will be replaced by documentation on how to integrate with other packages that do the input/output stuff better (such as marshmallow). This means that it will be maintained until 2.0 but consider it deprecated. Don't worry, if you have code using that now and wish to continue doing so, it's not going to go away any time too soon.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question