Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 179 for tutorial002_an_py310 (0.3 sec)

  1. docs/zh/docs/tutorial/background-tasks.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="13  15  22  25"
    {!> ../../docs_src/background_tasks/tutorial002_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="13  15  22  25"
    {!> ../../docs_src/background_tasks/tutorial002_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="14  16  23  26"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/websockets.md

    它们的工作方式与其他 FastAPI 端点/ *路径操作* 相同:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="68-69  82"
    {!> ../../docs_src/websockets/tutorial002_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="68-69  82"
    {!> ../../docs_src/websockets/tutorial002_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="69-70  83"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_sql_databases/test_tutorial002.py

            pytest.param("tutorial002_py39", marks=needs_py39),
            pytest.param("tutorial002_py310", marks=needs_py310),
            "tutorial002_an",
            pytest.param("tutorial002_an_py39", marks=needs_py39),
            pytest.param("tutorial002_an_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        clear_sqlmodel()
        # TODO: remove when updating SQL tutorial to use new lifespan API
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/body-multiple-params.md

    And you can also declare body parameters as optional, by setting the default to `None`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="18-20"
    {!> ../../docs_src/body_multiple_params/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="18-20"
    {!> ../../docs_src/body_multiple_params/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/body-multiple-params.md

    Und Sie können auch Body-Parameter als optional kennzeichnen, indem Sie den Defaultwert auf `None` setzen:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="18-20"
    {!> ../../docs_src/body_multiple_params/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="18-20"
    {!> ../../docs_src/body_multiple_params/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/body-multiple-params.md

    Вы также можете объявить параметры тела запроса как необязательные, установив значение по умолчанию, равное `None`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="18-20"
    {!> ../../docs_src/body_multiple_params/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="18-20"
    {!> ../../docs_src/body_multiple_params/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. docs/fr/docs/tutorial/body-multiple-params.md

    Vous pouvez également déclarer des paramètres body comme étant optionnels, en leur assignant une valeur par défaut à `None` :
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="18-20"
    {!> ../../docs_src/body_multiple_params/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="18-20"
    {!> ../../docs_src/body_multiple_params/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/body-multiple-params.md

    首先,毫无疑问地,你可以随意地混合使用 `Path`、`Query` 和请求体参数声明,**FastAPI** 会知道该如何处理。
    
    你还可以通过将默认值设置为 `None` 来将请求体参数声明为可选参数:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="18-20"
    {!> ../../docs_src/body_multiple_params/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="18-20"
    {!> ../../docs_src/body_multiple_params/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. docs_src/body_fields/tutorial001_an_py310.py

    Sebastián Ramírez <******@****.***> 1679142599 +0100
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 563 bytes
    - Viewed (0)
  10. docs_src/body_multiple_params/tutorial004_an_py310.py

    Sebastián Ramírez <******@****.***> 1679142599 +0100
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 643 bytes
    - Viewed (0)
Back to top