Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 621 - 630 of 1,014 for iter (0.14 seconds)

  1. docs/zh/docs/tutorial/body.md

    使用与声明路径和查询参数相同的方式,把它添加至*路径操作*:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[16] *}
    
    ...并把其类型声明为你创建的模型 `Item`。
    
    ## 结果 { #results }
    
    仅使用这些 Python 类型声明,**FastAPI** 就可以:
    
    * 以 JSON 形式读取请求体。
    * (在必要时)把请求体转换为对应的类型。
    * 校验数据。
        * 数据无效时返回清晰的错误信息,并指出错误数据的确切位置和内容。
    * 把接收的数据赋值给参数 `item`。
        * 因为你把函数中的参数类型声明为 `Item`,所以还能获得所有属性及其类型的编辑器支持(补全等)。
    * 为你的模型生成 [JSON Schema](https://json-schema.org) 定义,如果对你的项目有意义,还可以在其他地方使用它们。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  2. docs/tr/docs/advanced/additional-responses.md

                        "message": {
                            "title": "Message",
                            "type": "string"
                        }
                    }
                },
                "Item": {
                    "title": "Item",
                    "required": [
                        "id",
                        "value"
                    ],
                    "type": "object",
                    "properties": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  3. docs_src/dependencies/tutorial008c_an_py310.py

            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)
  4. cmd/data-usage-cache.go

    		return
    	}
    
    	// Update stats for tiers as they become available.
    	for tier, st := range ats.Tiers {
    		stats[tier] = madmin.TierStats{
    			TotalSize:   st.TotalSize,
    			NumVersions: st.NumVersions,
    			NumObjects:  st.NumObjects,
    		}
    	}
    }
    
    // tierStats holds per-tier stats of a remote tier.
    type tierStats struct {
    	TotalSize   uint64 `msg:"ts"`
    	NumVersions int    `msg:"nv"`
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  5. 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)
  6. docs_src/query_params_str_validations/tutorial009_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Annotated[str | None, Query(alias="item-query")] = None):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 314 bytes
    - Click Count (0)
  7. src/main/webapp/WEB-INF/view/admin/wizard/admin_wizard_config.jsp

                            <ol class="breadcrumb float-sm-right">
                                <li class="breadcrumb-item"><la:link href="/admin/wizard/">
                                    <la:message key="labels.wizard_start_title"/>
                                </la:link></li>
                                <li class="breadcrumb-item active"><la:message
                                        key="labels.wizard_crawling_config_title"/></li>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  8. docs_src/query_params_str_validations/tutorial009_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: str | None = Query(default=None, alias="item-query")):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 281 bytes
    - Click Count (0)
  9. docs_src/path_params_numeric_validations/tutorial002_py310.py

    from fastapi import FastAPI, Path
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(q: str, item_id: int = Path(title="The ID of the item to get")):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 265 bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/index/operations/WordManagementOperations.java

                    elevateWord.getTags(), elevateWord.getRoles());
            settings.elevateWord().add(normalized);
            if (apply) {
                final SuggestItem item = normalized.toSuggestItem();
                return indexingOps.index(index, item, badWordsSupplier.get());
            }
            return new SuggestIndexResponse(0, 0, null, 0);
        }
    
        /**
         * Deletes an elevate word.
         *
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 6.4K bytes
    - Click Count (0)
Back to Top