Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 191 for tutorial001_py39 (0.1 sec)

  1. docs/en/docs/advanced/websockets.md

    //// tab | Python 3.9+
    
    ```Python hl_lines="79-81"
    {!> ../../docs_src/websockets/tutorial003_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="81-83"
    {!> ../../docs_src/websockets/tutorial003.py!}
    ```
    
    ////
    
    To try it out:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/query-params-str-validations.md

    ```Python hl_lines="9"
    {!> ../../docs_src/query_params_str_validations/tutorial011.py!}
    ```
    
    ////
    
    //// tab | 🐍 3️⃣.9️⃣ & 🔛
    
    ```Python hl_lines="9"
    {!> ../../docs_src/query_params_str_validations/tutorial011_py39.py!}
    ```
    
    ////
    
    //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛
    
    ```Python hl_lines="7"
    {!> ../../docs_src/query_params_str_validations/tutorial011_py310.py!}
    ```
    
    ////
    
    ⤴️, ⏮️ 📛 💖:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/body-multiple-params.md

    //// tab | Python 3.10+ non-Annotated
    
    /// tip | "Заметка"
    
    Рекомендуется использовать `Annotated` версию, если это возможно.
    
    ///
    
    ```Python hl_lines="17-19"
    {!> ../../docs_src/body_multiple_params/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip | "Заметка"
    
    Рекомендуется использовать версию с `Annotated`, если это возможно.
    
    ///
    
    ```Python hl_lines="19-21"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. docs/fr/docs/tutorial/body-multiple-params.md

    ```
    
    ////
    
    //// tab | Python 3.10+ non-Annotated
    
    /// tip
    
    Préférez utiliser la version `Annotated` si possible.
    
    ///
    
    ```Python hl_lines="17-19"
    {!> ../../docs_src/body_multiple_params/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip
    
    Préférez utiliser la version `Annotated` si possible.
    
    ///
    
    ```Python hl_lines="19-21"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_body/test_tutorial001_py310.py

    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture
    def client():
        from docs_src.body.tutorial001_py310 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_body_float(client: TestClient):
        response = client.post("/items/", json={"name": "Foo", "price": 50.5})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 15K bytes
    - Viewed (1)
  6. docs/en/docs/tutorial/query-params-str-validations.md

    ////
    
    //// tab | Python 3.9+ non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="9"
    {!> ../../docs_src/query_params_str_validations/tutorial011_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="9"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/body-multiple-params.md

    ```
    
    ////
    
    //// tab | Python 3.10+ non-Annotated
    
    /// tip
    
    尽可能选择使用 `Annotated` 的版本。
    
    ///
    
    ```Python hl_lines="17-19"
    {!> ../../docs_src/body_multiple_params/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip
    
    尽可能选择使用 `Annotated` 的版本。
    
    ///
    
    ```Python hl_lines="19-21"
    {!> ../../docs_src/body_multiple_params/tutorial001.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/schema-extra-example.md

    You can declare `examples` for a Pydantic model that will be added to the generated JSON Schema.
    
    //// tab | Python 3.10+ Pydantic v2
    
    ```Python hl_lines="13-24"
    {!> ../../docs_src/schema_extra_example/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.10+ Pydantic v1
    
    ```Python hl_lines="13-23"
    {!> ../../docs_src/schema_extra_example/tutorial001_py310_pv1.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/query-params-str-validations.md

    //// tab | Python 3.9+ без Annotated
    
    /// tip | "Подсказка"
    
    Рекомендуется использовать версию с `Annotated` если возможно.
    
    ///
    
    ```Python hl_lines="9"
    {!> ../../docs_src/query_params_str_validations/tutorial011_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ без Annotated
    
    /// tip | "Подсказка"
    
    Рекомендуется использовать версию с `Annotated` если возможно.
    
    ///
    
    ```Python hl_lines="9"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/query-params-str-validations.md

    # 查询参数和字符串校验
    
    **FastAPI** 允许你为参数声明额外的信息和校验。
    
    让我们以下面的应用程序为例:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="7"
    {!> ../../docs_src/query_params_str_validations/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="9"
    {!> ../../docs_src/query_params_str_validations/tutorial001.py!}
    ```
    
    ////
    
    查询参数 `q` 的类型为 `str`,默认值为 `None`,因此它是可选的。
    
    ## 额外的校验
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top