Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 127 for 3_10 (0.19 sec)

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

    Let's take this application as example:
    
    === "Python 3.10+"
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/query_params_str_validations/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/query_params_str_validations/tutorial001.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.7K bytes
    - Viewed (0)
  2. docs/uk/docs/tutorial/body.md

    Спочатку вам потрібно імпортувати `BaseModel` з `pydantic`:
    
    === "Python 3.8 і вище"
    
        ```Python hl_lines="4"
        {!> ../../../docs_src/body/tutorial001.py!}
        ```
    
    === "Python 3.10 і вище"
    
        ```Python hl_lines="2"
        {!> ../../../docs_src/body/tutorial001_py310.py!}
        ```
    
    ## Створіть свою модель даних
    
    Потім ви оголошуєте свою модель даних як клас, який успадковується від `BaseModel`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  3. docs/uk/docs/tutorial/body-fields.md

    ## Імпорт `Field`
    
    Спочатку вам потрібно імпортувати це:
    
    === "Python 3.10+"
    
        ```Python hl_lines="4"
        {!> ../../../docs_src/body_fields/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="4"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 09 15:25:48 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/HostnamesTest.kt

        assertThat("::ffff:192.168.0.1".toCanonicalHost()).isEqualTo("192.168.0.1")
        assertThat(
          "FEDC:BA98:7654:3210:FEDC:BA98:7654:3210".toCanonicalHost(),
        ).isEqualTo(
          "fedc:ba98:7654:3210:fedc:ba98:7654:3210",
        )
    
        assertThat(
          "1080:0:0:0:8:800:200C:417A".toCanonicalHost(),
        ).isEqualTo("1080::8:800:200c:417a")
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 30 06:23:33 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/cookie-params.md

    # Cookie 参数
    
     定义 `Cookie` 参数与定义 `Query` 和 `Path` 参数一样。
    
    ## 导入 `Cookie`
    
    首先,导入 `Cookie`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/cookie_params/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/cookie_params/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="3"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:43:06 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/body-nested-models.md

    # 请求体 - 嵌套模型
    
    使用 **FastAPI**,你可以定义、校验、记录文档并使用任意深度嵌套的模型(归功于Pydantic)。
    
    ## List 字段
    
    你可以将一个属性定义为拥有子元素的类型。例如 Python `list`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="12"
        {!> ../../../docs_src/body_nested_models/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="14"
        {!> ../../../docs_src/body_nested_models/tutorial001.py!}
        ```
    
    这将使 `tags` 成为一个由元素组成的列表。不过它没有声明每个元素的类型。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    ## A `dict` from the previous example
    
    In the previous example, we were returning a `dict` from our dependency ("dependable"):
    
    === "Python 3.10+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/dependencies/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="11"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/query-params.md

    * `limit=10`: Por que esse era o valor padrão
    
    ## Parâmetros opcionais
    
    Da mesma forma, você pode declarar parâmetros de consulta opcionais, definindo o valor padrão para `None`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/query_params/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/query_params/tutorial002.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/query-params.md

    * `limit=10`: т.к это было значение по умолчанию
    
    ## Необязательные параметры
    
    Аналогично, вы можете объявлять необязательные query-параметры, установив их значение по умолчанию, равное `None`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/query_params/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/query_params/tutorial002.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/security/oauth2-scopes.md

    === "Python 3.10+"
    
        ```Python hl_lines="4  8  12  46  64  105  107-115  121-124  128-134  139  155"
        {!> ../../../docs_src/security/tutorial005_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="2  4  8  12  46
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:08 GMT 2024
    - 22.8K bytes
    - Viewed (0)
Back to top