R

Ravina • 3.96K Points
Extraordinary

Q. What will `from fastapi import Depends` do?

  • (A) Start the application
  • (B) Allow using templates
  • (C) Enable dependency injection
  • (D) Include static files
  • Correct Answer - Option(C)
  • Views: 6
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina
Importing `Depends` enables declaring dependencies in FastAPI.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.