- Sort Score
- Result 10 results
- Languages All
Results 711 - 720 of 1,224 for Items (1.1 sec)
-
docs_src/additional_responses/tutorial004_py310.py
responses = { 404: {"description": "Item not found"}, 302: {"description": "The item was moved"}, 403: {"description": "Not enough privileges"}, } app = FastAPI() @app.get( "/items/{item_id}", response_model=Item, responses={**responses, 200: {"content": {"image/png": {}}}}, ) async def read_item(item_id: str, img: bool | None = None): if img:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 669 bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial001_an_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: Annotated[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 Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 579 bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/advance.jsp
<div class="container"> <la:link styleClass="navbar-brand d-inline-flex" href="/"> <img src="${fe:url('/images/logo-head.png')}" alt="<la:message key="labels.header_brand_name" />" class="align-items-center" /> </la:link> <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 13 05:54:52 UTC 2025 - 14.2K bytes - Viewed (0) -
docs/zh-hant/docs/tutorial/first-steps.md
這將是你建立所有 API 的主要互動點。 ### 第三步:建立一個 *路徑操作* #### 路徑 這裡的「路徑」指的是 URL 中自第一個 `/` 以後的部分。 例如,在 URL 中: ``` https://example.com/items/foo ``` ……的路徑將會是: ``` /items/foo ``` /// info 「路徑」也常被稱為「端點 endpoint」或「路由 route」。 /// 在建置 API 時,「路徑」是分離「關注點」和「資源」的主要方式。 #### 操作 這裡的「操作」指的是 HTTP 的「方法」之一。 其中包括:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 11.6K bytes - Viewed (0) -
docs/ko/docs/tutorial/first-steps.md
``` </div> ### 3 단계: *경로 작동* 생성 #### 경로 여기서 "경로"는 첫 번째 `/`부터 시작하는 URL의 뒷부분을 의미합니다. 그러므로 아래와 같은 URL에서: ``` https://example.com/items/foo ``` ...경로는 다음과 같습니다: ``` /items/foo ``` /// info | 정보 "경로"는 일반적으로 "엔드포인트" 또는 "라우트"라고도 불립니다. /// API를 설계할 때 "경로"는 "관심사"와 "리소스"를 분리하기 위한 주요한 방법입니다. #### 작동
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 10.3K bytes - Viewed (0) -
docs/uk/docs/tutorial/metadata.md
* `url` (**обов'язково**): `str`з URL-адресою зовнішньої документації. ### Створення метаданих для тегів Спробуймо це на прикладі з тегами для `users` та `items`. Створіть метадані для своїх тегів і передайте їх у параметр `openapi_tags`: {* ../../docs_src/metadata/tutorial004.py hl[3:16,18] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Mar 19 17:09:57 UTC 2025 - 8.4K bytes - Viewed (0) -
tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 7.3K bytes - Viewed (0) -
pdm_build.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 691 bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial001_an_py39.py
from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None @app.put("/items/{item_id}") async def update_item( item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)], q: Union[str, None] = None, item: Union[Item, None] = None, ):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 610 bytes - Viewed (0) -
docs_src/extending_openapi/tutorial001_py39.py
from fastapi import FastAPI from fastapi.openapi.utils import get_openapi app = FastAPI() @app.get("/items/") async def read_items(): return [{"name": "Foo"}] def custom_openapi(): if app.openapi_schema: return app.openapi_schema openapi_schema = get_openapi( title="Custom title", version="2.5.0", summary="This is a very custom OpenAPI schema",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 737 bytes - Viewed (0)