R

Ravina • 3.96K Points
Extraordinary

Q. Which command runs a FastAPI app using Uvicorn?

  • (A) python app.py
  • (B) fastapi run app
  • (C) uvicorn main:app
  • (D) runserver app
  • Correct Answer - Option(C)
  • Views: 18
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina
`uvicorn main:app` runs the FastAPI application from `main.py`.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.