Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fastapi/fastapi
/ render
Method
render
tests/test_default_response_class.py:13–16 ·
view source on GitHub ↗
(self, content: Any)
Source
from the content-addressed store, hash-verified
11
media_type =
"application/x-orjson"
12
13
def
render(self, content: Any) -> bytes:
14
import
orjson
# ty: ignore[unresolved-import]
15
16
return
orjson.dumps(content)
17
18
19
class
OverrideResponse(JSONResponse):
Callers
nothing calls this directly
Calls
1
dumps
Method · 0.45
Tested by
no test coverage detected