R

Ravina • 3.96K Points
Extraordinary

Q. Which FastAPI function allows you to include routers from other modules?

  • (A) app.route_add()
  • (B) app.router()
  • (C) app.include_router()
  • (D) app.attach_router()
  • Correct Answer - Option(C)
  • Views: 22
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina

`include_router()` adds route definitions from a separate APIRouter instance.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.