R

Ravina • 3.96K Points
Extraordinary

Q. Which parameter in `Query()` restricts values to a set of choices?

  • (A) options
  • (B) enum
  • (C) choices
  • (D) allowed
  • Correct Answer - Option(B)
  • Views: 18
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina
`enum` is used to restrict values to predefined options using an Enum class.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.