Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/FourthBrain/FastAPI-for-Machine-Learning-Live-Demo
/ read_item
Function
read_item
main.py:18–19 ·
view source on GitHub ↗
(item_id: int)
Source
from the content-addressed store, hash-verified
16
17
@app.get(
"/items/{item_id}"
)
18
def
read_item(item_id: int):
19
return
{
"item_id"
: item_id}
20
21
22
class
Item(BaseModel):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected