R

Ravina • 3.96K Points
Extraordinary

Q. What does FastAPI use to describe request bodies and responses?

  • (A) Flask schema
  • (B) SQLAlchemy models
  • (C) Pydantic models
  • (D) Marshmallow schemas
  • Correct Answer - Option(C)
  • Views: 19
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina
Pydantic models are used to define the shape and validation of request and response data.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.