Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 704 for tabs (0.05 sec)

  1. docs/en/docs/tutorial/body-nested-models.md

    But then we think about it, and realize that tags shouldn't repeat, they would probably be unique strings.
    
    And Python has a special data type for sets of unique items, the `set`.
    
    Then we can declare `tags` as a set of strings:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="12"
    {!> ../../docs_src/body_nested_models/tutorial003_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="14"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/body-nested-models.md

    Таким образом, в нашем примере мы можем явно указать тип данных для поля `tags` как "список строк":
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="12"
    {!> ../../docs_src/body_nested_models/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="14"
    {!> ../../docs_src/body_nested_models/tutorial002_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="14"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/body-nested-models.md

    这完全是用于类型声明的标准 Python 语法。
    
    对具有子类型的模型属性也使用相同的标准语法。
    
    因此,在我们的示例中,我们可以将 `tags` 明确地指定为一个「字符串列表」:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="12"
    {!> ../../docs_src/body_nested_models/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="14"
    {!> ../../docs_src/body_nested_models/tutorial002_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="14"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/response-model.md

    //// tab | 🐍 3️⃣.6️⃣ & 🔛
    
    ```Python hl_lines="18  23"
    {!> ../../docs_src/response_model/tutorial001_01.py!}
    ```
    
    ////
    
    //// tab | 🐍 3️⃣.9️⃣ & 🔛
    
    ```Python hl_lines="18  23"
    {!> ../../docs_src/response_model/tutorial001_01_py39.py!}
    ```
    
    ////
    
    //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛
    
    ```Python hl_lines="16  21"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/response-model.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="16  21"
    {!> ../../docs_src/response_model/tutorial001_01_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="18  23"
    {!> ../../docs_src/response_model/tutorial001_01_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="18  23"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/generate-clients.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="23  28  36"
    {!> ../../docs_src/generate_clients/tutorial002.py!}
    ```
    
    ////
    
    ### Einen TypeScript-Client mit Tags generieren
    
    Wenn Sie unter Verwendung von Tags einen Client für eine FastAPI-Anwendung generieren, wird normalerweise auch der Client-Code anhand der Tags getrennt.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/path-operation-configuration.md

    ///
    
    ## Теги
    
    Вы можете добавлять теги к вашим *операциям пути*, добавив параметр `tags` с `list` заполненным `str`-значениями (обычно в нём только одна строка):
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="15  20  25"
    {!> ../../docs_src/path_operation_configuration/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="17  22  27"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/bigger-applications.md

    ### Add some custom `tags`, `responses`, and `dependencies`
    
    We are not adding the prefix `/items` nor the `tags=["items"]` to each *path operation* because we added them to the `APIRouter`.
    
    But we can still add _more_ `tags` that will be applied to a specific *path operation*, and also some extra `responses` specific to that *path operation*:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/response-model.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="16  21"
    {!> ../../docs_src/response_model/tutorial001_01_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="18  23"
    {!> ../../docs_src/response_model/tutorial001_01_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="18  23"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/response-model.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="16  21"
    {!> ../../docs_src/response_model/tutorial001_01_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="18  23"
    {!> ../../docs_src/response_model/tutorial001_01_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="18  23"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 30.4K bytes
    - Viewed (0)
Back to top