R

Ravina • 3.96K Points
Extraordinary

Q. Which argument in Field() is used to add a short description to a model field?

  • (A) desc
  • (B) label
  • (C) description
  • (D) info
  • Correct Answer - Option(C)
  • Views: 30
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina

`description` adds documentation to a Pydantic model field.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.