R

Ravina • 3.96K Points
Extraordinary

Q. What is the correct way to install all the necessary extras for file upload support in FastAPI?

  • (A) pip install fastapi[files]
  • (B) pip install fastapi[multipart]
  • (C) pip install fastapi[upload]
  • (D) pip install fastapi[all]
  • Correct Answer - Option(B)
  • Views: 29
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina

`python-multipart` is needed for file upload, included via `fastapi[multipart]`.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.