Browse Source

Merge 70fed2844e into eb75fd078e

pull/15696/merge
Achyuta Dixit 4 days ago
committed by GitHub
parent
commit
093eaceae9
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      docs/en/docs/tutorial/request-files.md

2
docs/en/docs/tutorial/request-files.md

@ -99,7 +99,7 @@ contents = myfile.file.read()
/// note | `async` Technical Details
When you use the `async` methods, **FastAPI** runs the file methods in a threadpool and awaits for them.
The `UploadFile` async methods wrap blocking file I/O operations and run them in a threadpool to make them non-blocking. This allows the async event loop to process other requests while file operations are in progress, which is essential for maintaining the non-blocking nature of your `async def` path operation functions.
///

Loading…
Cancel
Save