Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 53 for Tuple (0.04 sec)

  1. docs/en/docs/tutorial/response-model.md

    It is equivalent to `set(["name", "description"])`.
    
    ///
    
    #### Using `list`s instead of `set`s { #using-lists-instead-of-sets }
    
    If you forget to use a `set` and use a `list` or `tuple` instead, FastAPI will still convert it to a `set` and it will work correctly:
    
    {* ../../docs_src/response_model/tutorial006_py310.py hl[29,35] *}
    
    ## Recap { #recap }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. docs/uk/docs/tutorial/response-model.md

    Він еквівалентний `set(["name", "description"])`.
    
    ///
    
    #### Використання `list` замість `set`
    
    Якщо Ви забудете використати `set` і натомість застосуєте `list` або `tuple`, FastAPI все одно перетворить це на `set`, і все працюватиме правильно:
    
    {* ../../docs_src/response_model/tutorial006_py310.py hl[29,35] *}
    
    ## Підсумок
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Jun 24 19:14:01 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/response-model.md

    Того же самого можно достичь используя `set(["name", "description"])`.
    
    ///
    
    #### Что если использовать `list` вместо `set`?
    
    Если вы забыли про `set` и использовали структуру `list` или `tuple`, FastAPI автоматически преобразует этот объект в `set`, чтобы обеспечить корректную работу:
    
    {* ../../docs_src/response_model/tutorial006_py310.py hl[29,35] *}
    
    ## Резюме
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/response-model.md

    Äquivalent zu `set(["name", "description"])`.
    
    ///
    
    #### `list`en statt `set`s verwenden
    
    Wenn Sie vergessen, ein `set` zu verwenden, und stattdessen eine `list`e oder ein `tuple` übergeben, wird FastAPI die dennoch in ein `set` konvertieren, und es wird korrekt funktionieren:
    
    {* ../../docs_src/response_model/tutorial006_py310.py hl[29,35] *}
    
    ## Zusammenfassung
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/body-nested-models.md

    しかし、Pythonには型や「タイプパラメータ」を使ってリストを宣言する方法があります:
    
    ### typingの`List`をインポート
    
    まず、Pythonの標準の`typing`モジュールから`List`をインポートします:
    
    {* ../../docs_src/body_nested_models/tutorial002.py hl[1] *}
    
    ### タイプパラメータを持つ`List`の宣言
    
    `list`や`dict`、`tuple`のようなタイプパラメータ(内部の型)を持つ型を宣言するには:
    
    * `typing`モジュールからそれらをインストールします。
    * 角括弧(`[`と`]`)を使って「タイプパラメータ」として内部の型を渡します:
    
    ```Python
    from typing import List
    
    my_list: List[str]
    ```
    
    型宣言の標準的なPythonの構文はこれだけです。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/response-model.md

    Es equivalente a `set(["name", "description"])`.
    
    ///
    
    #### Usar `list`s en lugar de `set`s
    
    Si olvidas usar un `set` y usas un `list` o `tuple` en su lugar, FastAPI todavía lo convertirá a un `set` y funcionará correctamente:
    
    {* ../../docs_src/response_model/tutorial006_py310.py hl[29,35] *}
    
    ## Resumen
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 17K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/response-model.md

    /// tip | 豆知識
    
    `{"name", "description"}`の構文はこれら2つの値をもつ`set`を作成します。
    
    これは`set(["name", "description"])`と同等です。
    
    ///
    
    #### `set`の代わりに`list`を使用する
    
    もし`set`を使用することを忘れて、代わりに`list`や`tuple`を使用しても、FastAPIはそれを`set`に変換して正しく動作します:
    
    {* ../../docs_src/response_model/tutorial006.py hl[31,37] *}
    
    ## まとめ
    
    *path operationデコレータの*`response_model`パラメータを使用して、レスポンスモデルを定義し、特にプライベートデータがフィルタリングされていることを保証します。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. RELEASE.md

            and `audio_dataset_from_directory`, to be used with the
            `validation_split` argument, for returning both dataset splits at once,
            as a tuple.
        *   Added `tf.keras.utils.split_dataset` utility to split a `Dataset` object
            or a list/tuple of arrays into two `Dataset` objects (e.g. train/test).
        *   Added step granularity to `BackupAndRestore` callback for handling
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (2)
  9. src/main/webapp/js/jquery-3.7.1.min.map

    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 131.6K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.7.md

    	    * Note: this fixes some issues with the previous implementation of metrics for disks:
    
    	      * Time duration tracked was of the initial API call, not the entire operation.
    
    	      * Metrics label tuple would have resulted in many independent histograms stored, one for each disk. (Did not aggregate well).
    
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 308.7K bytes
    - Viewed (1)
Back to top