- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for overheads (0.14 sec)
-
docs/en/docs/advanced/custom-response.md
But if you are certain that the content that you are returning is **serializable with JSON**, you can pass it directly to the response class and avoid the extra overhead that FastAPI would have by passing your return content through the `jsonable_encoder` before passing it to the response class. ```Python hl_lines="2 7" {!../../../docs_src/custom_response/tutorial001b.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.7K bytes - Viewed (0)