Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 873 for Pythona (0.06 sec)

  1. docs/en/docs/tutorial/query-params-str-validations.md

    * `Annotated` from `typing` (or from `typing_extensions` in Python below 3.9)
    
    //// tab | Python 3.10+
    
    In Python 3.9 or above, `Annotated` is part of the standard library, so you can import it from `typing`.
    
    ```Python hl_lines="1  3"
    {!> ../../docs_src/query_params_str_validations/tutorial002_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    In versions of Python below Python 3.9 you import `Annotated` from `typing_extensions`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/path-operation-advanced-configuration.md

    Auch wenn diese sich in unterschiedlichen Modulen (Python-Dateien) befinden.
    
    ///
    
    ## Von OpenAPI ausschließen
    
    Um eine *Pfadoperation* aus dem generierten OpenAPI-Schema (und damit aus den automatischen Dokumentationssystemen) auszuschließen, verwenden Sie den Parameter `include_in_schema` und setzen Sie ihn auf `False`:
    
    ```Python hl_lines="6"
    {!../../docs_src/path_operation_advanced_configuration/tutorial003.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. docs/az/docs/index.md

    Bunu standart müasir Python tipləri ilə edirsiniz.
    
    Yeni sintaksis, müəyyən bir kitabxananın metodlarını və ya siniflərini və s. öyrənmək məcburiyyətində deyilsiniz.
    
    Sadəcə standart **Python**.
    
    Məsələn, `int` üçün:
    
    ```Python
    item_id: int
    ```
    
    və ya daha mürəkkəb `Item` modeli üçün:
    
    ```Python
    item: Item
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/header-params.md

    ## Импорт `Header`
    
    Сперва импортируйте `Header`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="3"
    {!> ../../docs_src/header_params/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="3"
    {!> ../../docs_src/header_params/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="3"
    {!> ../../docs_src/header_params/tutorial001_an.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/header-params.md

    ## `Header` importieren
    
    Importieren Sie zuerst `Header`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="3"
    {!> ../../docs_src/header_params/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="3"
    {!> ../../docs_src/header_params/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="3"
    {!> ../../docs_src/header_params/tutorial001_an.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. tests/utils.py

    import sys
    
    import pytest
    from fastapi._compat import PYDANTIC_V2
    
    needs_py39 = pytest.mark.skipif(sys.version_info < (3, 9), reason="requires python3.9+")
    needs_py310 = pytest.mark.skipif(
        sys.version_info < (3, 10), reason="requires python3.10+"
    )
    needs_pydanticv2 = pytest.mark.skipif(not PYDANTIC_V2, reason="requires Pydantic v2")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 422 bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/header-params.md

    使用 Python `list` 可以接收重复请求头所有的值。
    
    例如,声明 `X-Token` 多次出现的请求头,可以写成这样:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="9"
    {!> ../../docs_src/header_params/tutorial003_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="9"
    {!> ../../docs_src/header_params/tutorial003_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="10"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. 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)
  9. docs/de/docs/advanced/testing-dependencies.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="26-27  30"
    {!> ../../docs_src/dependency_testing/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="28-29  32"
    {!> ../../docs_src/dependency_testing/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="29-30  33"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/testing-dependencies.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="26-27  30"
    {!> ../../docs_src/dependency_testing/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="28-29  32"
    {!> ../../docs_src/dependency_testing/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="29-30  33"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top