Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/fastapi/fastapi
/ send_body_embed
Function
send_body_embed
tests/test_required_noneable.py:18–19 ·
view source on GitHub ↗
(b: str | None = Body(embed=True))
Source
from the content-addressed store, hash-verified
16
17
@app.post(
"/body-embed"
)
18
def
send_body_embed(b: str | None = Body(embed=True)):
19
return
b
20
21
22
client = TestClient(app)
Callers
nothing calls this directly
Calls
1
Body
Class · 0.90
Tested by
no test coverage detected