Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 220 for head_item (0.47 seconds)

  1. docs/ja/docs/tutorial/dependencies/index.md

    * 依存関係("dependable")関数を正しいパラメータで呼び出します。
    * 関数の結果を取得します。
    * *path operation 関数*のパラメータにその結果を代入してください。
    
    ```mermaid
    graph TB
    
    common_parameters(["common_parameters"])
    read_items["/items/"]
    read_users["/users/"]
    
    common_parameters --> read_items
    common_parameters --> read_users
    ```
    
    この方法では、共有されるコードを一度書き、**FastAPI** が*path operation*のための呼び出しを行います。
    
    /// check | 確認
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  2. tests/test_openapi_separate_input_output_schemas.py

        def create_item(item: Item) -> Item:
            return item
    
        @app.post("/items-list/")
        def create_item_list(item: list[Item]):
            return item
    
        @app.get("/items/")
        def read_items() -> list[Item]:
            return [
                Item(
                    name="Portal Gun",
                    description="Device to travel through the multi-rick-verse",
                    sub=SubItem(subname="subname"),
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  3. docs/ru/docs/tutorial/bigger-applications.md

    Так как путь каждой *операции пути* должен начинаться с `/`, как здесь:
    
    ```Python hl_lines="1"
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        ...
    ```
    
    ...то префикс не должен заканчиваться символом `/`.
    
    В нашем случае префиксом является `/items`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 29.7K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/bigger-applications.md

    As the path of each *path operation* has to start with `/`, like in:
    
    ```Python hl_lines="1"
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        ...
    ```
    
    ...the prefix must not include a final `/`.
    
    So, the prefix in this case is `/items`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 19.2K bytes
    - Click Count (0)
  5. docs/tr/docs/tutorial/bigger-applications.md

    Her *path operation*’ın path’i aşağıdaki gibi `/` ile başlamak zorunda olduğundan:
    
    ```Python hl_lines="1"
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        ...
    ```
    
    ...prefix’in sonunda `/` olmamalıdır.
    
    Yani bu örnekte prefix `/items` olur.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 20.3K bytes
    - Click Count (0)
  6. docs/de/docs/tutorial/bigger-applications.md

    Da der Pfad jeder *Pfadoperation* mit `/` beginnen muss, wie in:
    
    ```Python hl_lines="1"
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        ...
    ```
    
    ... darf das Präfix kein abschließendes `/` enthalten.
    
    Das Präfix lautet in diesem Fall also `/items`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 21.9K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/tutorial/bigger-applications.md

    {* ../../docs_src/bigger_applications/app_an_py310/routers/items.py hl[5:10,16,21] title["app/routers/items.py"] *}
    
    由於每個路徑操作的路徑都必須以 `/` 開頭,例如:
    
    ```Python hl_lines="1"
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        ...
    ```
    
    ...所以 prefix 末尾不能帶有 `/`。
    
    因此,此處的 prefix 是 `/items`。
    
    我們也可以加上一個 `tags` 清單,以及會套用在此 router 內所有路徑操作上的額外 `responses`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  8. docs/fr/docs/tutorial/bigger-applications.md

    Comme le chemin de chaque *chemin d'accès* doit commencer par `/`, comme dans :
    
    ```Python hl_lines="1"
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        ...
    ```
    
    ... le préfixe ne doit pas inclure un `/` final.
    
    Ainsi, le préfixe dans ce cas est `/items`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/bigger-applications.md

    Como el path de cada *path operation* tiene que empezar con `/`, como en:
    
    ```Python hl_lines="1"
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        ...
    ```
    
    ...el prefijo no debe incluir un `/` final.
    
    Así que, el prefijo en este caso es `/items`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 20.2K bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/bigger-applications.md

    Como o path de cada *operação de rota* tem que começar com `/`, como em:
    
    ```Python hl_lines="1"
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        ...
    ```
    
    ...o prefixo não deve incluir um `/` final.
    
    Então, o prefixo neste caso é `/items`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 20.3K bytes
    - Click Count (0)
Back to Top