Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for 62 (0.12 sec)

  1. docs/en/docs/advanced/security/oauth2-scopes.md

    The `scopes` parameter receives a `dict` with each scope as a key and the description as the value:
    
    === "Python 3.10+"
    
        ```Python hl_lines="62-65"
        {!> ../../../docs_src/security/tutorial005_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="62-65"
        {!> ../../../docs_src/security/tutorial005_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="63-66"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/cache2/FileOperatorTest.kt

        operator.read(45, buffer, 2)
        operator.read(47, buffer, 3)
        operator.read(26, buffer, 10)
        operator.read(23, buffer, 3)
        operator.write(47, buffer, buffer.size)
        operator.read(62, buffer, 6)
        operator.read(4, buffer, 19)
        operator.write(80, buffer, buffer.size)
        assertThat(snapshot()).isEqualTo(
          (
            "" +
              "god creates dinosaurs. " +
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/security/oauth2-scopes.md

    Der `scopes`-Parameter erhält ein `dict` mit jedem Scope als Schlüssel und dessen Beschreibung als Wert:
    
    === "Python 3.10+"
    
        ```Python hl_lines="62-65"
        {!> ../../../docs_src/security/tutorial005_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="62-65"
        {!> ../../../docs_src/security/tutorial005_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="63-66"
    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)
  4. okhttp/src/test/java/okhttp3/FormBodyTest.kt

        assertThat(formEncode(58)).isEqualTo("%3A")
        assertThat(formEncode(59)).isEqualTo("%3B")
        assertThat(formEncode(60)).isEqualTo("%3C")
        assertThat(formEncode(61)).isEqualTo("%3D")
        assertThat(formEncode(62)).isEqualTo("%3E")
        assertThat(formEncode(63)).isEqualTo("%3F")
        assertThat(formEncode(64)).isEqualTo("%40")
        assertThat(formEncode(65)).isEqualTo("A")
        assertThat(formEncode(90)).isEqualTo("Z")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

        // idx = 7 -> :scheme: http
        bytesIn.writeByte(0x84) // == Indexed - Add ==
        // idx = 6 -> :path: /
        bytesIn.writeByte(0xbe) // == Indexed - Add ==
        // Indexed name (idx = 62) -> :authority: www.example.com
        bytesIn.writeByte(0x58) // == Literal indexed ==
        // Indexed name (idx = 24) -> cache-control
        bytesIn.writeByte(0x08) // Literal value (len = 8)
        bytesIn.writeUtf8("no-cache")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 38.2K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/response-model.md

    #### 기본값이 있는 필드를 갖는 값의 데이터
    
    하지만 모델의 필드가 기본값이 있어도 ID가 `bar`인 항목(items)처럼 데이터가 값을 갖는다면:
    
    ```Python hl_lines="3  5"
    {
        "name": "Bar",
        "description": "The bartenders",
        "price": 62,
        "tax": 20.2
    }
    ```
    
    응답에 해당 값들이 포함됩니다.
    
    #### 기본값과 동일한 값을 갖는 데이터
    
    If the data has the same values as the default ones, like the item with ID `baz`:
    ID가 `baz`인 항목(items)처럼 기본값과 동일한 값을 갖는다면:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/response-model.md

    #### 默认值字段有实际值的数据
    
    但是,如果你的数据在具有默认值的模型字段中有实际的值,例如 ID 为 `bar` 的项:
    
    ```Python hl_lines="3  5"
    {
        "name": "Bar",
        "description": "The bartenders",
        "price": 62,
        "tax": 20.2
    }
    ```
    
    这些值将包含在响应中。
    
    #### 具有与默认值相同值的数据
    
    如果数据具有与默认值相同的值,例如 ID 为 `baz` 的项:
    
    ```Python hl_lines="3  5-6"
    {
        "name": "Baz",
        "description": None,
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  8. docs/zh/docs/advanced/security/oauth2-scopes.md

    {!../../../docs_src/security/tutorial005.py!}
    ```
    
    下面,我们逐步说明修改的代码内容。
    
    ## OAuth2 安全方案
    
    第一个修改的地方是,使用两个作用域 `me` 和 `items ` 声明 OAuth2 安全方案。
    
    `scopes` 参数接收**字典**,键是作用域、值是作用域的描述:
    
    ```Python hl_lines="62-65"
    {!../../../docs_src/security/tutorial005.py!}
    ```
    
    因为声明了作用域,所以登录或授权时会在 API 文档中显示。
    
    此处,选择给予访问权限的作用域: `me` 和 `items`。
    
    这也是使用脸书、谷歌、GitHub 登录时的授权机制。
    
    <img src="/img/tutorial/security/image11.png">
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:43:35 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/response-model.md

    #### デフォルト値を持つフィールドの値を持つデータ
    
    しかし、ID`bar`のitemのように、デフォルト値が設定されているモデルのフィールドに値が設定されている場合:
    
    ```Python hl_lines="3 5"
    {
        "name": "Bar",
        "description": "The bartenders",
        "price": 62,
        "tax": 20.2
    }
    ```
    
    それらはレスポンスに含まれます。
    
    #### デフォルト値と同じ値を持つデータ
    
    ID`baz`のitemのようにデフォルト値と同じ値を持つデータの場合:
    
    ```Python hl_lines="3 5 6"
    {
        "name": "Baz",
        "description": None,
    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)
  10. docs/ru/docs/tutorial/response-model.md

    ```Python hl_lines="3  5"
    {
        "name": "Bar",
        "description": "The bartenders",
        "price": 62,
        "tax": 20.2
    }
    ```
    
    они не будут исключены из ответа.
    
    #### Если значение поля совпадает с его значением по умолчанию
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 30.5K bytes
    - Viewed (0)
Back to top