- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 1,529 for _items (0.12 sec)
-
docs_src/body_nested_models/tutorial004.py
url: str name: str class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None tags: Set[str] = set() image: Union[Image, None] = None @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item): results = {"item_id": item_id, "item": item}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 504 bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/dict/protwords/admin_dict_protwords.jsp
<c:forEach var="p" varStatus="s" items="${pager.pageNumberList}"> <li <c:if test="${p == pager.currentPageNumber}">class="page-item active"</c:if>> <la:link
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 13 07:47:04 UTC 2020 - 9.9K bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial003.py
from pydantic import BaseModel app = FastAPI() class Item(BaseModel): 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()):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 548 bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial003_an.py
from typing_extensions import Annotated app = FastAPI() class Item(BaseModel): 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: Annotated[int, Body()] ):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 604 bytes - Viewed (0) -
docs_src/path_params_numeric_validations/tutorial001_an.py
from typing import Union from fastapi import FastAPI, Path, Query from typing_extensions import Annotated app = FastAPI() @app.get("/items/{item_id}") async def read_items( item_id: Annotated[int, Path(title="The ID of the item to get")], q: Annotated[Union[str, None], Query(alias="item-query")] = None, ): results = {"item_id": item_id} if q: results.update({"q": q})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 417 bytes - Viewed (0) -
docs/nl/docs/index.md
### Controleer het Open je browser op <a href="http://127.0.0.1:8000/items/5?q=somequery" class="external-link" target="_blank">http://127.0.0.1:8000/items/5?q=somequery</a>. Je zult een JSON response zien: ```JSON {"item_id": 5, "q": "somequery"} ``` Je hebt een API gemaakt die: * HTTP verzoeken kan ontvangen op de _paden_ `/` en `/items/{item_id}`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 21.2K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/common/admin/crud/pagination.jsp
<c:forEach var="p" varStatus="s" items="${pager.pageNumberList}"> <li <c:if test="${p == pager.currentPageNumber}">class="page-item active"</c:if>><la:link styleClass="page-link" href="list/${p}">${p}</la:link></li> </c:forEach> <c:if test="${pager.existNextPage}"> <li class="page-item"><la:link styleClass="page-link" href="list/${pager.currentPageNumber + 1}">
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Feb 07 10:28:50 UTC 2020 - 1.5K bytes - Viewed (0) -
docs_src/body_nested_models/tutorial007_py310.py
class Image(BaseModel): url: HttpUrl name: str class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: set[str] = set() images: list[Image] | None = None class Offer(BaseModel): name: str description: str | None = None price: float items: list[Item] @app.post("/offers/") async def create_offer(offer: Offer):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 520 bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial005_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( openapi_examples={ "normal": {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 26 18:03:13 UTC 2023 - 1.5K bytes - Viewed (0) -
docs_src/dependencies/tutorial006.py
if x_key != "fake-super-secret-key": raise HTTPException(status_code=400, detail="X-Key header invalid") return x_key @app.get("/items/", dependencies=[Depends(verify_token), Depends(verify_key)]) async def read_items():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 583 bytes - Viewed (0)