Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 685 for Dict (0.08 seconds)

  1. docs/zh-hant/docs/tutorial/path-params.md

    /// tip
    
    你也可以用 `ModelName.lenet.value` 取得值 `"lenet"`。
    
    ///
    
    #### 回傳「列舉成員」 { #return-enumeration-members }
    
    你可以從「路徑操作」回傳「列舉成員」,即使是巢狀在 JSON 主體(例如 `dict`)裡。
    
    在回傳給用戶端之前,它們會被轉成對應的值(此例為字串):
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[18,21,23] *}
    
    你的用戶端會收到像這樣的 JSON 回應:
    
    ```JSON
    {
      "model_name": "alexnet",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  2. docs/ja/docs/tutorial/path-params.md

    /// tip | 豆知識
    
    `ModelName.lenet.value` でも `"lenet"` 値にアクセスできます。
    
    ///
    
    #### *列挙型メンバ*の返却 { #return-enumeration-members }
    
    *path operation* から*列挙型メンバ*を返すことができます。JSONボディ(例: `dict`)でネストすることもできます。
    
    それらはクライアントに返される前に適切な値 (この場合は文字列) に変換されます。
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[18,21,23] *}
    
    クライアントは以下の様なJSONレスポンスを得ます:
    
    ```JSON
    {
      "model_name": "alexnet",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  3. docs/tr/docs/tutorial/first-steps.md

    ///
    
    ### Adım 5: içeriği döndürün { #step-5-return-the-content }
    
    {* ../../docs_src/first_steps/tutorial001_py310.py hl[8] *}
    
    Bir `dict`, `list`, `str`, `int` vb. tekil değerler döndürebilirsiniz.
    
    Ayrıca Pydantic modelleri de döndürebilirsiniz (bununla ilgili daha fazlasını ileride göreceksiniz).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 14.4K bytes
    - Click Count (0)
  4. docs/ru/docs/tutorial/first-steps.md

    ///
    
    ### Шаг 5: верните содержимое { #step-5-return-the-content }
    
    {* ../../docs_src/first_steps/tutorial001_py310.py hl[8] *}
    
    Вы можете вернуть `dict`, `list`, отдельные значения `str`, `int` и т.д.
    
    Также можно вернуть модели Pydantic (подробнее об этом позже).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  5. docs/en/docs/_llm-test.md

    * the CLI
    * the command line interface
    
    * the server
    * the client
    
    * the cloud provider
    * the cloud service
    
    * the development
    * the development stages
    
    * the dict
    * the dictionary
    * the enumeration
    * the enum
    * the enum member
    
    * the encoder
    * the decoder
    * to encode
    * to decode
    
    * the exception
    * to raise
    
    * the expression
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/tutorial/first-steps.md

    /// note
    
    如果你不知道差別,請查看 [Async: *"In a hurry?"*](../async.md#in-a-hurry)。
    
    ///
    
    ### 第五步:回傳內容 { #step-5-return-the-content }
    
    {* ../../docs_src/first_steps/tutorial001_py310.py hl[8] *}
    
    你可以返回一個 `dict`、`list`、單個值作為 `str`、`int` 等。
    
    你也可以返回 Pydantic 模型(稍後你會看到更多關於這方面的內容)。
    
    有很多其他物件和模型會自動轉換為 JSON(包括 ORMs,等等)。試用你最喜歡的,很有可能它們已經有支援。
    
    ### 第六步:部署 { #step-6-deploy-it }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  7. docs/uk/docs/tutorial/first-steps.md

    ///
    
    ### Крок 5: поверніть вміст { #step-5-return-the-content }
    
    {* ../../docs_src/first_steps/tutorial001_py310.py hl[8] *}
    
    Ви можете повернути `dict`, `list`, а також окремі значення `str`, `int` тощо.
    
    Також можна повернути моделі Pydantic (про це ви дізнаєтесь пізніше).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/first-steps.md

    ///
    
    ### Step 5: return the content { #step-5-return-the-content }
    
    {* ../../docs_src/first_steps/tutorial001_py310.py hl[8] *}
    
    You can return a `dict`, `list`, singular values as `str`, `int`, etc.
    
    You can also return Pydantic models (you'll see more about that later).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  9. docs/de/docs/tutorial/first-steps.md

    ///
    
    ### Schritt 5: den Inhalt zurückgeben { #step-5-return-the-content }
    
    {* ../../docs_src/first_steps/tutorial001_py310.py hl[8] *}
    
    Sie können ein `dict`, eine `list`, einzelne Werte wie `str`, `int`, usw. zurückgeben.
    
    Sie können auch Pydantic-Modelle zurückgeben (dazu später mehr).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 14.9K bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/first-steps.md

    ///
    
    ### Paso 5: retorna el contenido { #step-5-return-the-content }
    
    {* ../../docs_src/first_steps/tutorial001_py310.py hl[8] *}
    
    Puedes retornar un `dict`, `list`, valores singulares como `str`, `int`, etc.
    
    También puedes retornar modelos de Pydantic (verás más sobre eso más adelante).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 13.9K bytes
    - Click Count (0)
Back to Top