Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ormar-orm/ormar
/ create_item
Function
create_item
docs_src/fastapi/docs001.py:35–37 ·
view source on GitHub ↗
(item: Item)
Source
from the content-addressed store, hash-verified
33
34
@app.post(
"/items/"
, response_model=Item)
35
async
def
create_item(item: Item):
36
await item.save()
37
return
item
38
39
40
@app.post(
"/categories/"
, response_model=Category)
Callers
nothing calls this directly
Calls
1
save
Method · 0.80
Tested by
no test coverage detected