R

Ravina • 3.96K Points
Extraordinary

Q. Which statement is true about `UploadFile` in FastAPI?

  • (A) It is read-only
  • (B) It is stored fully in memory
  • (C) It stores the file on disk automatically
  • (D) It is a spooled file-like object allowing async read/write
  • Correct Answer - Option(D)
  • Views: 51
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina

`UploadFile` behaves like a file-like object and supports async operations.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.