Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 40 for tuple (0.16 sec)

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

        Того же самого можно достичь используя `set(["name", "description"])`.
    
    #### Что если использовать `list` вместо `set`?
    
    Если вы забыли про `set` и использовали структуру `list` или `tuple`, FastAPI автоматически преобразует этот объект в `set`, чтобы обеспечить корректную работу:
    
    === "Python 3.10+"
    
        ```Python hl_lines="29  35"
        {!> ../../../docs_src/response_model/tutorial006_py310.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 30.5K bytes
    - Viewed (0)
  2. 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:
    
    === "Python 3.10+"
    
        ```Python hl_lines="29  35"
        {!> ../../../docs_src/response_model/tutorial006_py310.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:58 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/response-model.md

        It is equivalent to `set(["name", "description"])`.
    
    #### Using `list`s instead of `set`s
    
    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:
    
    === "Python 3.10+"
    
        ```Python hl_lines="29  35"
        {!> ../../../docs_src/response_model/tutorial006_py310.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.9K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/response-model.md

        ```
    
    !!! tip
        ❕ `{"name", "description"}` ✍ `set` ⏮️ 📚 2️⃣ 💲.
    
        ⚫️ 🌓 `set(["name", "description"])`.
    
    #### ⚙️ `list`Ⓜ ↩️ `set`Ⓜ
    
    🚥 👆 💭 ⚙️ `set` & ⚙️ `list` ⚖️ `tuple` ↩️, FastAPI 🔜 🗜 ⚫️ `set` & ⚫️ 🔜 👷 ☑:
    
    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python hl_lines="31  37"
        {!> ../../../docs_src/response_model/tutorial006.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 16K bytes
    - Viewed (0)
  5. 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
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  6. src/main/webapp/js/admin/jquery-3.6.3.min.map

    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Feb 17 12:13:41 GMT 2023
    - 135.2K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/core/v1/generated.proto

      // More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
      // +optional
      optional k8s.io.apimachinery.pkg.api.resource.Quantity sizeLimit = 2;
    }
    
    // EndpointAddress is a tuple that describes single IP address.
    // +structType=atomic
    message EndpointAddress {
      // The IP of this endpoint.
      // May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10),
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
  8. src/main/webapp/js/jquery-3.6.3.min.map

    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Feb 17 12:13:41 GMT 2023
    - 135.2K bytes
    - Viewed (0)
  9. 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).
    
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Thu May 05 13:44:43 GMT 2022
    - 308.7K bytes
    - Viewed (1)
  10. docs/en/docs/release-notes.md

    * Fix handling form *path operation* parameters declared with pure classes like `list`, `tuple`, etc. PR [#856](https://github.com/tiangolo/fastapi/pull/856) by [@nsidnev](https://github.com/nsidnev).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
Back to top