S

Shyam Dubey • 3.70K Points
Extraordinary

Q. What does the `...` (ellipsis) signify in FastAPI when used in Query() or Body()?

  • (A) Optional field
  • (B) Default value
  • (C) Required field
  • (D) Empty string
  • Correct Answer - Option(C)
  • Views: 18
  • Filed under category Fast API
  • Hashtags:

Explanation by: Shyam Dubey
`...` means the field is required, and no default value is provided.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.