- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 1,169 for item01 (0.24 seconds)
-
docs_src/query_params/tutorial003_py310.py
from fastapi import FastAPI app = FastAPI() @app.get("/items/{item_id}") async def read_item(item_id: str, q: str | None = None, short: bool = False): item = {"item_id": item_id} if q: item.update({"q": q}) if not short: item.update( {"description": "This is an amazing item that has a long description"} )
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 374 bytes - Click Count (0) -
docs_src/query_params/tutorial005_py310.py
from fastapi import FastAPI app = FastAPI() @app.get("/items/{item_id}") async def read_user_item(item_id: str, needy: str): item = {"item_id": item_id, "needy": needy}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 192 bytes - Click Count (0) -
docs_src/body_nested_models/tutorial004_py310.py
class Image(BaseModel): url: str name: str class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: set[str] = set() image: Image | None = None @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item): results = {"item_id": item_id, "item": item}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed May 11 17:29:02 GMT 2022 - 455 bytes - Click Count (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:linkCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 10.1K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/admin/webauth/admin_webauth_details.jsp
<td><c:forEach var="item" items="${protocolSchemeItems}"> <c:if test="${protocolScheme==item.value}">${f:h(item.label)}</c:if> </c:forEach> <la:hidden property="protocolScheme"/></td>
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 6.5K bytes - Click Count (0) -
docs/tr/docs/index.md
</details> ### Kontrol Edelim { #check-it } Tarayıcınızda şu bağlantıyı açın: [http://127.0.0.1:8000/items/5?q=somequery](http://127.0.0.1:8000/items/5?q=somequery). Şu JSON response'unu göreceksiniz: ```JSON {"item_id": 5, "q": "somequery"} ``` Artık şunları yapan bir API oluşturdunuz: * `/` ve `/items/{item_id}` _path_'lerinde HTTP request'leri alır.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 23.2K bytes - Click Count (0) -
docs/es/docs/index.md
Abre tu navegador en [http://127.0.0.1:8000/items/5?q=somequery](http://127.0.0.1:8000/items/5?q=somequery). Verás el response JSON como: ```JSON {"item_id": 5, "q": "somequery"} ``` Ya creaste una API que: * Recibe requests HTTP en los _paths_ `/` y `/items/{item_id}`. * Ambos _paths_ toman _operaciones_ `GET` (también conocidas como métodos HTTP).
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 22.6K bytes - Click Count (0) -
docs/pt/docs/index.md
</details> ### Verifique { #check-it } Abra seu navegador em [http://127.0.0.1:8000/items/5?q=somequery](http://127.0.0.1:8000/items/5?q=somequery). Você verá a resposta JSON como: ```JSON {"item_id": 5, "q": "somequery"} ``` Você acabou de criar uma API que: * Recebe requisições HTTP nos _paths_ `/` e `/items/{item_id}`. * Ambos _paths_ fazem operações `GET` (também conhecido como _métodos_ HTTP).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 22.7K bytes - Click Count (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}">Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Feb 07 10:28:50 GMT 2020 - 1.5K bytes - Click Count (0) -
fastapi/exceptions.py
```python from fastapi import FastAPI, HTTPException app = FastAPI() items = {"foo": "The Foo Wrestlers"} @app.get("/items/{item_id}") async def read_item(item_id: str): if item_id not in items: raise HTTPException(status_code=404, detail="Item not found") return {"item": items[item_id]} ``` """ def __init__( self,Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:41:21 GMT 2026 - 7.3K bytes - Click Count (0)