R

Ravina • 3.96K Points
Extraordinary

Q. Which feature of FastAPI helps with dependency injection?

  • (A) Depends()
  • (B) Inject()
  • (C) Bind()
  • (D) Attach()
  • Correct Answer - Option(A)
  • Views: 31
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina

`Depends()` is the primary method for declaring and injecting dependencies in FastAPI.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.