- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 880 for Item (0.02 sec)
-
docs_src/body_multiple_params/tutorial004_py310.py
from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None class User(BaseModel): username: str full_name: str | None = None @app.put("/items/{item_id}") async def update_item( *, item_id: int, item: Item, user: User, importance: int = Body(gt=0),
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Mar 10 18:49:18 UTC 2023 - 603 bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial004_an_py310.py
from fastapi import Body, FastAPI 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, item: Annotated[ Item, Body( examples=[ { "name": "Foo",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Jul 01 16:43:29 UTC 2023 - 917 bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/searchResults.jsp
<c:when test="${pageNumber < currentPageNumber - 2 || pageNumber > currentPageNumber + 2}">class="page-item d-none d-sm-inline"</c:when> <c:when test="${pageNumber == currentPageNumber && pageNumber >= currentPageNumber - 2 && pageNumber <= currentPageNumber + 2}">class="page-item active"</c:when> <c:otherwise>class="page-item"</c:otherwise> </c:choose>> <la:link styleClass="page-link"
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jun 09 04:29:42 UTC 2022 - 9K bytes - Viewed (0) -
docs_src/additional_responses/tutorial003.py
from pydantic import BaseModel class Item(BaseModel): id: str value: str class Message(BaseModel): message: str app = FastAPI() @app.get( "/items/{item_id}", response_model=Item, responses={ 404: {"model": Message, "description": "The item was not found"}, 200: { "description": "Item requested by ID", "content": {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 837 bytes - Viewed (0) -
compat/maven-plugin-api/src/site/site.xml
<body> <menu name="Overview"> <item name="Introduction" href="index.html"/> <item name="Javadocs" href="apidocs/index.html"/> <item name="Source Xref" href="xref/index.html"/> <!--item name="FAQ" href="faq.html"/--> </menu> <menu name="Reference"> <item name="META-INF/maven/lifecycle.xml" href="lifecycle-mappings.html"/> <item name="META-INF/maven/plugin.xml" href="plugin.html"/>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
fess-crawler/src/test/resources/extractor/xml/test_utf8bom.xml
<address xmlns:hoge="http://www.example.com/hoge"> <item sex="male" custid="A12345"> <name>鈴木太郎</name> <access kind="email"></access> <access kind="url">http://www.taro.com/</access> <image file="taro.png" /> </item> <item sex="male" custid="B23456"> <name>佐藤二朗</name> <access kind="email">******@****.***</access>
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Wed Aug 01 02:48:58 UTC 2018 - 729 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
final SuggestItem item = SuggestItem.parseSource(hit.getSourceAsMap()); item.setDocFreq(0); item.setKinds(Stream.of(item.getKinds()).filter(kind -> kind != SuggestItem.Kind.DOCUMENT) .toArray(count -> new SuggestItem.Kind[count])); updateItems.add(item); }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 26.1K bytes - Viewed (0) -
docs_src/body_updates/tutorial001.py
} @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 Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 906 bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial005.py
}, }, "summary": "Read Item Name", "operationId": "read_item_name_items__item_id__name_get", "parameters": [ { "required": True, "schema": {"title": "Item Id", "type": "string"}, "name": "item_id",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 04 20:47:07 UTC 2023 - 6K bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial006.py
}, }, "summary": "Read Item Name", "operationId": "read_item_name_items__item_id__name_get", "parameters": [ { "required": True, "schema": {"title": "Item Id", "type": "string"}, "name": "item_id",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 04 20:47:07 UTC 2023 - 6K bytes - Viewed (0)