- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 1,543 for item (0.02 seconds)
-
fastapi/routing.py
if item.raw_data is not None: data_str: str | None = item.raw_data elif item.data is not None: if hasattr(item.data, "model_dump_json"): data_str = item.data.model_dump_json() else: data_str = json.dumps(jsonable_encoder(item.data)) else:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 193K 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) -
docs_src/dependencies/tutorial008c_py310.py
@app.get("/items/{item_id}") def get_item(item_id: str, username: str = Depends(get_username)): if item_id == "portal-gun": raise InternalError( f"The portal gun is too dangerous to be owned by {username}" ) if item_id != "plumbus": raise HTTPException( status_code=404, detail="Item not found, there's only a plumbus here" )
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 660 bytes - Click Count (0) -
docs/en/docs/python-types.md
/// That means: "the variable `items` is a `list`, and each of the items in this list is a `str`". By doing that, your editor can provide support even while processing items from the list: <img src="/img/python-types/image05.png"> Without types, that's almost impossible to achieve. Notice that the variable `item` is one of the elements in the list `items`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
docs/tr/docs/index.md
Sadece standart **Python**. Örneğin bir `int` için: ```Python item_id: int ``` ya da daha karmaşık bir `Item` modeli için: ```Python item: Item ``` ...ve bu tek tanımla şunları elde edersiniz: * Şunlar dahil editör desteği: * Completion. * Type kontrolleri. * Verinin doğrulanması: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) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java
if (update && getResponse.isExists()) { final IndexRequestBuilder indexRequestBuilder = new IndexRequestBuilder(client, IndexAction.INSTANCE, index); indexRequestBuilder.setId(item.getId()) .setOpType(IndexRequest.OpType.INDEX) .setSource(item.getUpdatedSource(getResponse.getSourceAsMap()));
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Nov 20 08:32:33 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/admin/searchlog/admin_searchlog_details.jsp
<li class="breadcrumb-item"><la:link href="/admin/searchlog"> <la:message key="labels.searchlog_configuration_link_top"/> </la:link></li> <c:if test="${crudMode == 4}"> <li class="breadcrumb-item active"><la:messageCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 10.1K bytes - Click Count (0) -
cmd/iam-etcd-store.go
} func getIAMConfig(item any, data []byte, itemPath string) error { data, err := decryptData(data, itemPath) if err != nil { return err } json := jsoniter.ConfigCompatibleWithStandardLibrary return json.Unmarshal(data, item) } func (ies *IAMEtcdStore) loadIAMConfig(ctx context.Context, item any, path string) error { data, err := readKeyEtcd(ctx, ies.client, path)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.9K bytes - Click Count (0) -
docs_src/dependencies/tutorial008c_an_py310.py
@app.get("/items/{item_id}") def get_item(item_id: str, username: Annotated[str, Depends(get_username)]): if item_id == "portal-gun": raise InternalError( f"The portal gun is too dangerous to be owned by {username}" ) if item_id != "plumbus": raise HTTPException( status_code=404, detail="Item not found, there's only a plumbus here" )
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 700 bytes - Click Count (0) -
src/main/webapp/js/bootstrap.min.js
o:o});if(r("slide.bs.carousel").defaultPrevented)return;if(!s||!n)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=n;const l=i?"carousel-item-start":"carousel-item-end",c=i?"carousel-item-next":"carousel-item-prev";n.classList.add(c),g(n),s.classList.add(l),n.classList.add(l),this._queueCallback((()=>{n.classList.remove(l,c),n.classList.add(ot),s.classList.remove(ot,c,l),this._isSliding=!1,r(it)}),s,this._isAnimated()),...
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 12 06:14:02 GMT 2025 - 58.9K bytes - Click Count (0)