R

Ravina • 3.96K Points
Extraordinary

Q. Which parameter in `Path()` ensures a parameter must be greater than zero?

  • (A) gt=0
  • (B) min=1
  • (C) greater=0
  • (D) positive=True
  • Correct Answer - Option(A)
  • Views: 19
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina
Use `gt=0` in `Path()` to enforce a value greater than zero.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.