MCPcopy
hub / github.com/fastapi/fastapi / float_convertor

Function float_convertor

tests/test_starlette_urlconvertors.py:13–14  ·  view source on GitHub ↗
(param: float = Path())

Source from the content-addressed store, hash-verified

11
12@app.get("/float/{param:float}")
13def float_convertor(param: float = Path()):
14 return {"float": param}
15
16
17@app.get("/path/{param:path}")

Callers

nothing calls this directly

Calls 1

PathClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…