- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for query_convertor (0.2 sec)
-
tests/test_starlette_urlconvertors.py
def float_convertor(param: float = Path()): return {"float": param} @app.get("/path/{param:path}") def path_convertor(param: str = Path()): return {"path": param} @app.get("/query/") def query_convertor(param: str = Query()): return {"query": param} client = TestClient(app) def test_route_converters_int(): # Test integer conversion response = client.get("/int/5")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Nov 27 14:46:06 UTC 2022 - 1.7K bytes - Viewed (0)