Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 67 for tuple (0.2 sec)

  1. fastapi/openapi/utils.py

        operation_ids: Set[str],
        schema_generator: GenerateJsonSchema,
        model_name_map: ModelNameMap,
        field_mapping: Dict[
            Tuple[ModelField, Literal["validation", "serialization"]], JsonSchemaValue
        ],
        separate_input_output_schemas: bool = True,
    ) -> Tuple[Dict[str, Any], Dict[str, Any], Dict[str, Any]]:
        path = {}
        security_schemes: Dict[str, Any] = {}
        definitions: Dict[str, Any] = {}
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
  2. docs/de/docs/python-types.md

        * `list`
        * `tuple`
        * `set`
        * `dict`
    
        Verwenden Sie für den Rest, wie unter Python 3.8, das `typing`-Modul:
    
        * `Union`
        * `Optional`
        * ... und andere.
    
    === "Python 3.8+"
    
        * `List`
        * `Tuple`
        * `Set`
        * `Dict`
        * `Union`
        * `Optional`
        * ... und andere.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:29:25 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  3. docs/vi/docs/python-types.md

    Chú ý rằng, biến `item` là một trong các phần tử trong danh sách `items`.
    
    Và do vậy, trình soạn thảo biết nó là một `str`, và cung cấp sự hỗ trợ cho nó.
    
    #### Tuple and Set
    
    Bạn sẽ làm điều tương tự để khai báo các `tuple` và  các `set`:
    
    === "Python 3.9+"
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/python_types/tutorial007_py39.py!}
        ```
    
    === "Python 3.8+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  4. cmd/storage-datatypes.go

    //
    // The above means that any added/deleted fields are incompatible.
    //
    //msgp:tuple VolInfo
    type VolInfo struct {
    	// Name of the volume.
    	Name string
    
    	// Date and time when the volume was created.
    	Created time.Time
    }
    
    // FilesInfo represent a list of files, additionally
    // indicates if the list is last.
    //
    //msgp:tuple FileInfo
    type FilesInfo struct {
    	Files       []FileInfo
    	IsTruncated bool
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  5. docs/es/docs/python-types.md

    El editor aún sabe que es un `str` y provee soporte para ello.
    
    #### Tuples y Sets
    
    Harías lo mismo para declarar `tuple`s y `set`s:
    
    ```Python hl_lines="1  4"
    {!../../../docs_src/python_types/tutorial007.py!}
    ```
    
    Esto significa:
    
    * La variable `items_t` es un `tuple` con 3 ítems, un `int`, otro `int`, y un `str`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  6. docs/ja/docs/python-types.md

    タイプがなければ、それはほぼ不可能です。
    
    変数`item`はリスト`items`の要素の一つであることに注意してください。
    
    それでも、エディタはそれが`str`であることを知っていて、そのためのサポートを提供しています。
    
    #### `Tuple` と `Set`
    
    `tuple`と`set`の宣言も同様です:
    
    ```Python hl_lines="1 4"
    {!../../../docs_src/python_types/tutorial007.py!}
    ```
    
    つまり:
    
    * 変数`items_t`は`int`、`int`、`str`の3つの項目を持つ`tuple`です
    
    * 変数`items_s`はそれぞれの項目が`bytes`型である`set`です。
    
    #### `Dict`
    
    `dict`を宣言するためには、カンマ区切りで2つの型パラメータを渡します。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  7. cmd/data-usage-cache.go

    //msgp:marshal ignore dataUsageEntryV2 dataUsageEntryV3 dataUsageEntryV4 dataUsageEntryV5 dataUsageEntryV6 dataUsageEntryV7
    
    //msgp:tuple dataUsageEntryV2
    type dataUsageEntryV2 struct {
    	// These fields do no include any children.
    	Size     int64
    	Objects  uint64
    	ObjSizes sizeHistogram
    	Children dataUsageHashMap
    }
    
    //msgp:tuple dataUsageEntryV3
    type dataUsageEntryV3 struct {
    	// These fields do no include any children.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  8. docs/bn/docs/python-types.md

        * `list`
        * `tuple`
        * `set`
        * `dict`
    
        এবং Python 3.8 এর মতোই, `typing` মডিউল থেকে:
    
        * `Union`
        * `Optional`
        * ...এবং অন্যান্য।
    
    === "Python 3.8+"
    
        * `List`
        * `Tuple`
        * `Set`
        * `Dict`
        * `Union`
        * `Optional`
        * ...এবং অন্যান্য।
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Apr 03 15:34:37 GMT 2024
    - 36K bytes
    - Viewed (0)
  9. docs/em/docs/python-types.md

    #### 🔢 & ⚒
    
    👆 🔜 🎏 📣 `tuple`Ⓜ & `set`Ⓜ:
    
    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial007.py!}
        ```
    
    === "🐍 3️⃣.9️⃣ & 🔛"
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/python_types/tutorial007_py39.py!}
        ```
    
    👉 ⛓:
    
    * 🔢 `items_t` `tuple` ⏮️ 3️⃣ 🏬, `int`, ➕1️⃣ `int`, & `str`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  10. docs/zh/docs/python-types.md

    注意,变量 `item` 是列表 `items` 中的元素之一。
    
    而且,编辑器仍然知道它是一个 `str`,并为此提供了支持。
    
    #### 元组和集合
    
    声明 `tuple` 和 `set` 的方法也是一样的:
    
    ```Python hl_lines="1  4"
    {!../../../docs_src/python_types/tutorial007.py!}
    ```
    
    这表示:
    
    * 变量 `items_t` 是一个 `tuple`,其中的前两个元素都是 `int` 类型, 最后一个元素是 `str` 类型。
    * 变量 `items_s` 是一个 `set`,其中的每个元素都是 `bytes` 类型。
    
    #### 字典
    
    定义 `dict` 时,需要传入两个子类型,用逗号进行分隔。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.6K bytes
    - Viewed (0)
Back to top