S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which command is used to run a FastAPI application with Uvicorn?

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

Explanation by: Shyam Dubey

Uvicorn is an ASGI server and is typically used to run FastAPI apps using 'uvicorn app:app --reload'.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.