- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 707 for punt (0.13 sec)
-
docs_src/body_multiple_params/tutorial003.py
name: str description: Union[str, None] = None price: float tax: Union[float, None] = None class User(BaseModel): username: str full_name: Union[str, None] = None @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item, user: User, importance: int = Body()): results = {"item_id": item_id, "item": item, "user": user, "importance": importance}
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 548 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/boostdoc/ApiAdminBoostdocAction.java
return null; })).status(Status.OK).result()); } // PUT /api/admin/boostdoc/setting @Execute public JsonResponse<ApiResult> put$setting(final CreateBody body) { validateApi(body, messages -> {}); body.crudMode = CrudMode.CREATE;
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 6.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/group/ApiAdminGroupAction.java
return null; })).status(ApiResult.Status.OK).result()); } // PUT /api/admin/group/setting @Execute public JsonResponse<ApiResult> put$setting(final CreateBody body) { validateApi(body, messages -> {}); validateAttributes(body.attributes, this::throwValidationErrorApi); body.crudMode = CrudMode.CREATE;
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 5.8K bytes - Viewed (0) -
docs/en/docs/tutorial/first-steps.md
While building an API, the "path" is the main way to separate "concerns" and "resources". #### Operation "Operation" here refers to one of the HTTP "methods". One of: * `POST` * `GET` * `PUT` * `DELETE` ...and the more exotic ones: * `OPTIONS` * `HEAD` * `PATCH` * `TRACE` In the HTTP protocol, you can communicate to each path using one (or more) of these "methods". ---
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 11:48:16 UTC 2024 - 11.8K bytes - Viewed (1) -
docs_src/body_updates/tutorial001_py310.py
"baz": {"name": "Baz", "description": None, "price": 50.2, "tax": 10.5, "tags": []}, } @app.get("/items/{item_id}", response_model=Item) async def read_item(item_id: str): return items[item_id] @app.put("/items/{item_id}", response_model=Item) async def update_item(item_id: str, item: Item): update_item_encoded = jsonable_encoder(item) items[item_id] = update_item_encoded
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 856 bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial005_an.py
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sat Aug 26 18:03:13 UTC 2023 - 1.5K bytes - Viewed (0) -
docs_src/bigger_applications/app_an/routers/items.py
async def read_item(item_id: str): if item_id not in fake_items_db: raise HTTPException(status_code=404, detail="Item not found") return {"name": fake_items_db[item_id]["name"], "item_id": item_id} @router.put( "/{item_id}", tags=["custom"], responses={403: {"description": "Operation forbidden"}}, ) async def update_item(item_id: str): if item_id != "plumbus": raise HTTPException(
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 1011 bytes - Viewed (0) -
docs_src/body_updates/tutorial001.py
"baz": {"name": "Baz", "description": None, "price": 50.2, "tax": 10.5, "tags": []}, } @app.get("/items/{item_id}", response_model=Item) async def read_item(item_id: str): return items[item_id] @app.put("/items/{item_id}", response_model=Item) async def update_item(item_id: str, item: Item): update_item_encoded = jsonable_encoder(item) items[item_id] = update_item_encoded
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 906 bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
assertNotNull(systemHelper.getHostname()); try { envMap.put("COMPUTERNAME", "xxx"); assertEquals("xxx", systemHelper.getHostname()); } finally { envMap.remove("COMPUTERNAME"); } try { envMap.put("HOSTNAME", "yyy"); assertEquals("yyy", systemHelper.getHostname()); } finally {
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.5K bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial001_py310.py
from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None @app.put("/items/{item_id}") async def update_item( *, item_id: int = Path(title="The ID of the item to get", ge=0, le=1000), q: str | None = None, item: Item | None = None, ): results = {"item_id": item_id}
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 546 bytes - Viewed (0)