- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for read_unicorn (0.18 sec)
-
docs_src/handling_errors/tutorial003.py
return JSONResponse( status_code=418, content={"message": f"Oops! {exc.name} did something. There goes a rainbow..."}, ) @app.get("/unicorns/{name}") async def read_unicorn(name: str): if name == "yolo": raise UnicornException(name=name)
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Mar 26 19:09:53 GMT 2020 - 626 bytes - Viewed (0) -
tests/test_tutorial/test_handling_errors/test_tutorial003.py
} }, }, }, "summary": "Read Unicorn", "operationId": "read_unicorn_unicorns__name__get", "parameters": [ { "required": True, "schema": {"title": "Name", "type": "string"},
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 3.2K bytes - Viewed (0)