Request
Awaiting run()
wrk run · CPython 3.14.7 (GIL on), macOS 26.5.2, Apple M4. Client-observed loopback latency includes transport and generator overhead; exploratory single-machine evidence, not a production benchmark.BROWSER-LOCAL CONTRACT NO SERVER REQUESTS
Use the actual typed CRUD example as a guide, then run a bounded request locally.
@app.post("/items", body=ItemIn, response=Item)
def create_item(item: ItemIn) -> tuple[int, Item]:
global _next_id
with _lock:
created = Item(id=_next_id, name=item.name, price=item.price)
_items[_next_id] = created
_next_id += 1
return 201, createdOpen complete example ↗— Browser-local processing only. Excludes Dexpot Python/server and network latency.
Local contract preview, not a Python server. No network calls. Starts with the example item; maximum 20 live items. Editing clears the last result. Only Run executes.
Awaiting run()
No response yet.