Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 1,169 for item01 (0.05 seconds)

  1. docs/de/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: Thu Mar 19 17:58:09 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  2. docs/fr/docs/advanced/dataclasses.md

    3. La dataclass `Author` inclut une liste de dataclasses `Item`.
    
    4. La dataclass `Author` est utilisée comme paramètre `response_model`.
    
    5. Vous pouvez utiliser d'autres annotations de type standard avec des dataclasses comme corps de la requête.
    
        Dans ce cas, il s'agit d'une liste de dataclasses `Item`.
    
    6. Ici, nous renvoyons un dictionnaire qui contient `items`, qui est une liste de dataclasses.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/tutorial/bigger-applications.md

    ///
    
    ## 另一個帶有 `APIRouter` 的模組 { #another-module-with-apirouter }
    
    假設你還有一個模組 `app/routers/items.py`,專門處理應用程式中的「items」。
    
    你有以下路徑操作:
    
    * `/items/`
    * `/items/{item_id}`
    
    其結構與 `app/routers/users.py` 相同。
    
    但我們想要更聰明地簡化一些程式碼。
    
    我們知道這個模組中的所有路徑操作都有相同的:
    
    * 路徑 `prefix`:`/items`
    * `tags`:(只有一個標籤:`items`)
    * 額外的 `responses`
    * `dependencies`:它們都需要我們先前建立的 `X-Token` 相依性
    
    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)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            private
            inline fun <reified T> inAnyOrder(items: List<T>): Matcher<Iterable<T>> = inAnyOrder(items.toTypedArray())
    
            /**
             * Matcher checking each item is present exactly once in a given iterable, but an any position,
             * and that there are no unexpected items.
             */
            private
            fun <T> inAnyOrder(items: Array<out T>): Matcher<Iterable<T>> = Matchers.containsInAnyOrder(*items)
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 11:30:48 GMT 2026
    - 18.3K bytes
    - Click Count (0)
  5. tests/associations_has_many_test.go

    	tx := DB.Session(&gorm.Session{})
    	tx.Migrator().DropTable(&ItemContent{}, &Item{})
    	tx.AutoMigrate(&ItemContent{}, &Item{})
    
    	item := Item{
    		Logo: "logo",
    		Contents: []ItemContent{
    			{Name: "name", LanguageCode: "en"},
    			{Name: "ar name", LanguageCode: "ar"},
    		},
    	}
    	if err := tx.Create(&item).Error; err != nil {
    		t.Fatalf("failed to create items, got error: %v", err)
    	}
    
    	// test Replace
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  6. src/main/config/openapi/openapi-user.yaml

                        type: array
                        items:
                          type: string
                        example: ["aaa"]
                      related_contents:
                        type: array
                        items:
                          type: string
                        example: []
                      data:
                        type: array
                        items:
                          type: object
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu May 09 06:31:27 GMT 2024
    - 21.6K bytes
    - Click Count (0)
  7. docs/zh/docs/advanced/dataclasses.md

    1. 我们仍然从标准库的 `dataclasses` 导入 `field`。
    2. `pydantic.dataclasses` 是 `dataclasses` 的可直接替换版本。
    3. `Author` 数据类包含一个由 `Item` 数据类组成的列表。
    4. `Author` 数据类被用作 `response_model` 参数。
    5. 你可以将其它标准类型注解与数据类一起用作请求体。
    
       在本例中,它是一个 `Item` 数据类列表。
    6. 这里我们返回一个字典,里面的 `items` 是一个数据类列表。
    
       FastAPI 仍然能够将数据<dfn title="把数据转换为可以传输的格式">序列化</dfn>为 JSON。
    7. 这里的 `response_model` 使用了 “`Author` 数据类列表” 的类型注解。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  8. docs/fr/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: Thu Mar 19 18:37:13 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  9. docs/uk/docs/tutorial/handling-errors.md

    Якщо клієнт робить запит за шляхом `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
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip | Порада
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  10. docs/ja/docs/advanced/templates.md

    ///
    
    ## テンプレートの作成 { #writing-templates }
    
    例えば、`templates/item.html` に次のようなテンプレートを書きます:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### テンプレートのコンテキスト値 { #template-context-values }
    
    次のような HTML 内で:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    ...渡した "context" の `dict` から取得した `id` が表示されます:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 4.1K bytes
    - Click Count (0)
Back to Top