- Sort Score
- Result 10 results
- Languages All
Results 641 - 650 of 880 for Item (0.04 sec)
-
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial006.py
"openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "post": { "summary": "Create Item", "operationId": "create_item_items__post", "requestBody": { "content": { "application/json": {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 1.9K bytes - Viewed (0) -
docs/de/docs/advanced/additional-responses.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.6K bytes - Viewed (0) -
docs/em/docs/tutorial/body.md
{!> ../../docs_src/body/tutorial001_py310.py!} ``` //// ...& ๐ฃ ๐ฎ ๐ ๐ท ๐ โ, `Item`. ## ๐ โฎ๏ธ ๐ ๐ ๐ ๐, **FastAPI** ๐: * โ ๐ช ๐จ ๐ป. * ๐ ๐ ๐ (๐ฅ ๐ช). * โ ๐ฝ. * ๐ฅ ๐ฝ โ, โซ๏ธ ๐ ๐จ ๐ & ๐ โ, โ ๏ธ โซ๏ธโ ๐โ & โซ๏ธโ โ ๐. * ๐ค ๐ ๐จ ๐ ๐ข `item`. * ๐ ๐ฃ โซ๏ธ ๐ข ๐ `Item`, ๐ ๐ โ๏ธ ๐ ๐จโ๐จ ๐โ๐ฆบ (๐ ๏ธ, โ๏ธ) ๐ ๐ข & ๐ซ ๐.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.4K bytes - Viewed (0) -
docs/en/docs/advanced/additional-responses.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 16:07:07 UTC 2024 - 8.7K bytes - Viewed (0) -
docs_src/path_params_numeric_validations/tutorial006_an_py39.py
from typing import Annotated from fastapi import FastAPI, Path, Query app = FastAPI() @app.get("/items/{item_id}") async def read_items( *, item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)], q: str, size: Annotated[float, Query(gt=0, lt=10.5)], ): results = {"item_id": item_id} if q: results.update({"q": q}) if size: results.update({"size": size})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Aug 28 23:39:15 UTC 2024 - 447 bytes - Viewed (0) -
common-protos/k8s.io/api/networking/v1/generated.proto
message NetworkPolicyEgressRule { // ports is a list of destination ports for outgoing traffic. // Each item in this list is combined using a logical OR. If this field is // empty or missing, this rule matches all ports (traffic not restricted by port). // If this field is present and contains at least one item, then this rule allows // traffic only if the traffic matches at least one port in the list. // +optional
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 25.2K bytes - Viewed (0) -
fastapi/routing.py
from pydantic import BaseModel class Item(BaseModel): name: str description: str | None = None app = FastAPI() router = APIRouter() @router.put("/items/{item_id}") def replace_item(item_id: str, item: Item): return {"message": "Item replaced", "id": item_id} app.include_router(router)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 09:44:57 UTC 2024 - 172.1K bytes - Viewed (0) -
docs/ko/docs/tutorial/response-model.md
``` /// note | "์ฐธ๊ณ " `response_model`์ "๋ฐ์ฝ๋ ์ดํฐ" ๋ฉ์๋(`get`, `post`, ๋ฑ)์ ๋งค๊ฐ๋ณ์์ ๋๋ค. ๋ชจ๋ ๋งค๊ฐ๋ณ์๋ค๊ณผ ๋ณธ๋ฌธ(body)์ฒ๋ผ *๊ฒฝ๋ก ์๋ ํจ์*๊ฐ ์๋๋๋ค. /// Pydantic ๋ชจ๋ธ ์ดํธ๋ฆฌ๋ทฐํธ๋ฅผ ์ ์ธํ ๊ฒ๊ณผ ๋์ผํ ํ์ ์ ์์ ํ๋ฏ๋ก Pydantic ๋ชจ๋ธ์ด ๋ ์ ์์ง๋ง, `List[Item]`๊ณผ ๊ฐ์ด Pydantic ๋ชจ๋ธ๋ค์ `list`์ผ ์๋ ์์ต๋๋ค. FastAPI๋ ์ด `response_model`๋ฅผ ์ฌ์ฉํ์ฌ: * ์ถ๋ ฅ ๋ฐ์ดํฐ๋ฅผ ํ์ ์ ์ธ์ผ๋ก ๋ณํ. * ๋ฐ์ดํฐ ๊ฒ์ฆ. * OpenAPI *๊ฒฝ๋ก ์๋*์ ์๋ต์ JSON ์คํค๋ง ์ถ๊ฐ. * ์๋ ์์ฑ ๋ฌธ์ ์์คํ ์ ์ฌ์ฉ. ํ์ง๋ง ๊ฐ์ฅ ์ค์ํ ๊ฒ์:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.1K bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial010_an_py39.py
from typing import Annotated, Union from fastapi import FastAPI, Query app = FastAPI() @app.get("/items/") async def read_items( q: Annotated[ Union[str, None], Query( alias="item-query", title="Query string", description="Query string for the items to search in the database that have a good match", min_length=3, max_length=50,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 24 20:26:06 UTC 2023 - 635 bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDescriptionRenderer.java
} NodeList otherContent = classDoc.getClassSection().getChildNodes(); for (int i = 0; i < otherContent.getLength(); i++) { Node child = otherContent.item(i); if (child instanceof Element && !((Element) child).getTagName().equals("section")) { parent.appendChild(document.importNode(child, true)); } } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.1K bytes - Viewed (0)