- Sort Score
- Result 10 results
- Languages All
Results 701 - 710 of 1,840 for theme (0.04 sec)
-
docs_src/handling_errors/tutorial003.py
@app.exception_handler(UnicornException) async def unicorn_exception_handler(request: Request, exc: UnicornException): 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)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 626 bytes - Viewed (0) -
doc/initial/1-intro.md
`hello` `world`. --> <style> main ul li { margin: 0.5em 0; } </style> ## DRAFT RELEASE NOTES — Introduction to Go 1.N {#introduction} **Go 1.N is not yet released. These are work-in-progress release notes.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed May 22 18:25:26 UTC 2024 - 406 bytes - Viewed (0) -
docs/LICENSE
extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. Section 1 -- Definitions. a. Adapted Material means material subject to Copyright and Similar
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon May 10 16:50:06 UTC 2021 - 18.2K bytes - Viewed (0) -
tests/test_tutorial/test_handling_errors/test_tutorial003.py
def test_get_exception(): response = client.get("/unicorns/yolo") assert response.status_code == 418, response.text assert response.json() == { "message": "Oops! yolo did something. There goes a rainbow..." } def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.2K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/SmokeIdeTests.kt
id(buildTypeId(model)) name = "Smoke Ide Tests" description = "Tests against IDE sync process" requirements { // These tests are usually heavy and the build time is twice on EC2 agents requiresNotEc2Agent() } applyTestDefaults( model = model, buildType = this,
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Sep 25 07:23:49 UTC 2024 - 1.6K bytes - Viewed (0) -
common/scripts/format_go.sh
# # The original version of this file is located in the https://github.com/istio/common-files repo. # If you're looking at this file in a different repo and want to make a change, please go to the # common-files repo, make the change there and check it in. Then come back to this repo and run # "make update-common". # Copyright Istio Authors # # Licensed under the Apache License, Version 2.0 (the "License");
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 07 22:53:31 UTC 2020 - 1020 bytes - Viewed (0) -
docs_src/extra_models/tutorial004.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str items = [ {"name": "Foo", "description": "There comes my hero"}, {"name": "Red", "description": "It's my aeroplane"}, ] @app.get("/items/", response_model=List[Item]) async def read_items():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 381 bytes - Viewed (0) -
docs_src/handling_errors/tutorial002.py
@app.get("/items-header/{item_id}") async def read_item_header(item_id: str): if item_id not in items: raise HTTPException( status_code=404, detail="Item not found", headers={"X-Error": "There goes my error"}, )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 404 bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.18.md
- [Client Binaries](#client-binaries-19) - [Server Binaries](#server-binaries-19) - [Node Binaries](#node-binaries-19) - [Changelog since v1.17.0](#changelog-since-v1170) - [What’s New (Major Themes)](#whats-new-major-themes) - [Kubernetes Topology Manager Moves to Beta - Align Up!](#kubernetes-topology-manager-moves-to-beta---align-up) - [Serverside Apply - Beta 2](#serverside-apply---beta-2)
Registered: Fri Nov 01 09:05:11 UTC 2024 - Last Modified: Wed Jun 16 17:18:28 UTC 2021 - 373.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/BiMap.java
* * @param key the key with which the specified value is to be associated * @param value the value to be associated with the specified key * @return the value that was previously associated with the key, or {@code null} if there was no * previous entry. (If the bimap contains null values, then {@code forcePut}, like {@code * put}, returns {@code null} both if the key is absent and if it is present with a null * value.) */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 4.3K bytes - Viewed (0)