Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,529 for _items (0.21 sec)

  1. tests/test_tutorial/test_extra_data_types/test_tutorial001_py310.py

                            },
                        },
                        "summary": "Read Items",
                        "operationId": "read_items_items__item_id__put",
                        "parameters": [
                            {
                                "required": True,
                                "schema": {
                                    "title": "Item Id",
                                    "type": "string",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Apr 19 00:11:40 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. docs_src/dependencies/tutorial012.py

        return x_key
    
    
    app = FastAPI(dependencies=[Depends(verify_token), Depends(verify_key)])
    
    
    @app.get("/items/")
    async def read_items():
        return [{"item": "Portal Gun"}, {"item": "Plumbus"}]
    
    
    @app.get("/users/")
    async def read_users():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 696 bytes
    - Viewed (0)
  3. docs/fr/docs/index.md

    Vous obtenez alors cette réponse <abbr title="JavaScript Object Notation">JSON</abbr> :
    
    ```JSON
    {"item_id": 5, "q": "somequery"}
    ```
    
    Vous venez de créer une API qui :
    
    * Reçoit les requêtes HTTP pour les _chemins_ `/` et `/items/{item_id}`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 22K bytes
    - Viewed (0)
  4. docs/zh-hant/docs/index.md

    </details>
    
    ### 檢查
    
    使用瀏覽器開啟 <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>。
    
    你將會看到以下的 JSON 回應:
    
    ```JSON
    {"item_id": 5, "q": "somequery"}
    ```
    
    你已經建立了一個具有以下功能的 API:
    
    - 透過路徑 `/` 和 `/items/{item_id}` 接受 HTTP 請求。
    - 以上路經都接受 `GET` 請求(也被稱為 HTTP _方法_)。
    - 路徑 `/items/{item_id}` 有一個 `int` 型別的 `item_id` 參數。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/admin/design/admin_design.jsp

                                        <la:select styleId="fileName" property="fileName" styleClass="form-control">
                                            <c:forEach var="item" varStatus="s" items="${fileNameItems}">
                                                <la:option value="${item}">${f:h(item)}</la:option>
                                            </c:forEach>
                                        </la:select>
                                    </div>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 11.1K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/admin/fileauth/admin_fileauth_edit.jsp

                                                       styleClass="form-control">
                                                <c:forEach var="item" items="${protocolSchemeItems}">
                                                    <la:option value="${f:u(item.value)}">${f:h(item.label)}</la:option>
                                                </c:forEach>
                                            </la:select>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 7.9K bytes
    - Viewed (0)
  7. docs/es/docs/python-types.md

    ```Python hl_lines="4"
    {!../../docs_src/python_types/tutorial006.py!}
    ```
    
    Esto significa: la variable `items` es una `list` y cada uno de los ítems en esta lista es un `str`.
    
    Con esta declaración tu editor puede proveerte soporte inclusive mientras está procesando ítems de la lista.
    
    Sin tipos el auto-completado en este tipo de estructura es casi imposible de lograr:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/admin/labeltype/admin_labeltype.jsp

                                                           items="${labelTypePager.pageNumberList}">
                                                    <li
                                                            <c:if test="${p == labelTypePager.currentPageNumber}">class="page-item active"</c:if>>
                                                        <la:link
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Mar 31 05:47:05 UTC 2020
    - 10.5K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/dict/kuromoji/admin_dict_kuromoji.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: Fri Mar 27 06:24:23 UTC 2020
    - 10.1K bytes
    - Viewed (0)
  10. docs_src/path_params_numeric_validations/tutorial001_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Path, Query
    
    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[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
    - 375 bytes
    - Viewed (0)
Back to top