Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 1,004 for foob (0.16 sec)

  1. docs_src/extra_models/tutorial005_py39.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/keyword-weights/", response_model=dict[str, float])
    async def read_keyword_weights():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 180 bytes
    - Viewed (0)
  2. src/archive/tar/testdata/ustar-file-reg.tar

    foo iRFmWghs3CK9/2HSvRja4TzX8HsRwzbVY+h0HRkH9uPho2BGmrG5a0/+rkLSA3GUOX/WiPmP+h73T1r0DZIDJXtOgYWIU/y2H+WAe/ZlWt90N2KHka0bkXajoE/3mu7jiCW45hTNBDp3ArJ+K8Oh6bEfN2bHhXjZ41Zk+uvksVba2ZNyhThAAGZgi/pRa/oCT4HUoBWcY3w96+TGR6uXtvbDOM9WhPXGo+1bwhAsA/RXPA1ZX+oS6t4rl/ZvkMZZN4VO5OvKph8tth/BGEK6mw4oTRa1Hd91+bUUqQh6hl3JeDk/t2KDWOEehOxgOqfVG72U/pUXrcUXuywq9KT+bWQxdJsXzwkkyT8Ovz4o/Ib8Xxz+BHwpN3TtOXsHziuqLGMz+OxetaxhQqe1G/UWwfi5a9PuJC3wfITSa0=...
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 06 04:31:26 UTC 2015
    - 1.5K bytes
    - Viewed (0)
  3. docs_src/query_params_str_validations/tutorial003_an_py39.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Annotated[Union[str, None], Query(min_length=3, max_length=50)] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 343 bytes
    - Viewed (0)
  4. docs_src/query_params_str_validations/tutorial004_an_py310_regex.py

    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Annotated[
            str | None, Query(min_length=3, max_length=50, regex="^fixedquery$")
        ] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 366 bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/handling-errors.md

    ```Python hl_lines="11"
    {!../../docs_src/handling_errors/tutorial001.py!}
    
    ```
    
    ### 响应结果
    
    请求为 `http://example.com/items/foo`(`item_id` 为 `「foo」`)时,客户端会接收到 HTTP 状态码 - 200 及如下 JSON 响应结果:
    
    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    
    ```
    
    但如果客户端请求 `http://example.com/items/bar`(`item_id` `「bar」` 不存在时),则会接收到 HTTP 状态码 - 404(「未找到」错误)及如下 JSON 响应结果:
    
    ```JSON
    {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/admin/relatedcontent/admin_relatedcontent_details.jsp

                    </div>
                </la:form>
    
            </section>
        </div>
        <jsp:include page="/WEB-INF/view/common/admin/footer.jsp"></jsp:include>
    </div>
    <jsp:include page="/WEB-INF/view/common/admin/foot.jsp"></jsp:include>
    </body>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 4.8K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/admin/reqheader/admin_reqheader.jsp

                    </div>
                </div>
            </section>
        </div>
        <jsp:include page="/WEB-INF/view/common/admin/footer.jsp"></jsp:include>
    </div>
    <jsp:include page="/WEB-INF/view/common/admin/foot.jsp"></jsp:include>
    </body>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Mar 24 13:43:18 UTC 2020
    - 5.5K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/admin/reqheader/admin_reqheader_details.jsp

                    </div>
                </la:form>
            </section>
        </div>
        <jsp:include page="/WEB-INF/view/common/admin/footer.jsp"></jsp:include>
    </div>
    <jsp:include page="/WEB-INF/view/common/admin/foot.jsp"></jsp:include>
    </body>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  9. docs_src/query_params_str_validations/tutorial007_an_py39.py

    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Annotated[Union[str, None], Query(title="Query string", min_length=3)] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 350 bytes
    - Viewed (0)
  10. docs_src/query_params_str_validations/tutorial012_py39.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: list[str] = Query(default=["foo", "bar"])):
        query_items = {"q": q}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 192 bytes
    - Viewed (0)
Back to top