Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for 115 (0.15 sec)

  1. docs/em/docs/tutorial/path-operation-configuration.md

        ```
    
    === "🐍 3️⃣.9️⃣ & 🔛"
    
        ```Python hl_lines="3  17"
        {!> ../../../docs_src/path_operation_configuration/tutorial001_py39.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python hl_lines="1  15"
        {!> ../../../docs_src/path_operation_configuration/tutorial001_py310.py!}
        ```
    
    👈 👔 📟 🔜 ⚙️ 📨 & 🔜 🚮 🗄 🔗.
    
    !!! note "📡 ℹ"
        👆 💪 ⚙️ `from starlette import status`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 5.3K bytes
    - Viewed (0)
  2. internal/grid/handlers_string.go

    leLogListDirGetLocksBackgroundHealStatusGetLastDayTierStatsSignalServiceGetBandwidthWriteAllListBucketsRenameDataInlinehandlerTesthandlerTest2handlerLast"
    
    var _HandlerID_index = [...]uint16{0, 14, 22, 31, 41, 52, 63, 78, 85, 92, 100, 109, 115, 126, 136, 149, 163, 176, 186, 196, 206, 213, 225, 230, 236, 256, 274, 301, 315, 328, 345, 369, 381, 391, 408, 428, 446, 456, 464, 473, 483, 493, 503, 515, 525, 543, 553, 564, 573, 586, 596, 603, 613, 625, 639, 651, 668, 682, 694, 708, 727, 749, 769,...
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. docs/fr/docs/tutorial/debugging.md

    ## Faites appel à `uvicorn`
    
    Dans votre application FastAPI, importez et exécutez directement `uvicorn` :
    
    ```Python hl_lines="1  15"
    {!../../../docs_src/debugging/tutorial001.py!}
    ```
    
    ### À propos de `__name__ == "__main__"`
    
    Le but principal de `__name__ == "__main__"` est d'avoir du code qui est exécuté lorsque votre fichier est appelé avec :
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Mar 06 16:26:49 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/debugging.md

    # 🛠️
    
    👆 💪 🔗 🕹 👆 👨‍🎨, 🖼 ⏮️ 🎙 🎙 📟 ⚖️ 🗒.
    
    ## 🤙 `uvicorn`
    
    👆 FastAPI 🈸, 🗄 & 🏃 `uvicorn` 🔗:
    
    ```Python hl_lines="1  15"
    {!../../../docs_src/debugging/tutorial001.py!}
    ```
    
    ### 🔃 `__name__ == "__main__"`
    
    👑 🎯 `__name__ == "__main__"` ✔️ 📟 👈 🛠️ 🕐❔ 👆 📁 🤙 ⏮️:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    ✋️ 🚫 🤙 🕐❔ ➕1️⃣ 📁 🗄 ⚫️, 💖:
    
    ```Python
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/path-operation-configuration.md

        ```
    
    === "Python 3.9 and above"
    
        ```Python hl_lines="3  17"
        {!> ../../../docs_src/path_operation_configuration/tutorial001_py39.py!}
        ```
    
    === "Python 3.10 and above"
    
        ```Python hl_lines="1  15"
        {!> ../../../docs_src/path_operation_configuration/tutorial001_py310.py!}
        ```
    
    Esse código de status será usado na resposta e será adicionado ao esquema OpenAPI.
    
    !!! note "Detalhes Técnicos"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/security/oauth2-jwt.md

    如果令牌无效,则直接返回 HTTP 错误。
    
    ```Python hl_lines="89-106"
    {!../../../docs_src/security/tutorial004.py!}
    ```
    
    ## 更新 `/token` *路径操作*
    
    用令牌过期时间创建 `timedelta` 对象。
    
    创建并返回真正的 JWT 访问令牌。
    
    ```Python hl_lines="115-130"
    {!../../../docs_src/security/tutorial004.py!}
    ```
    
    ### JWT `sub` 的技术细节
    
    JWT 规范还包括 `sub` 键,值是令牌的主题。
    
    该键是可选的,但要把用户标识放在这个键里,所以本例使用了该键。
    
    除了识别用户与许可用户在 API 上直接执行操作之外,JWT 还可能用于其它事情。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

      }
    
      // Hardcoded because of Android problems. See testUtf16Expected.
      private static final byte[] utf16ExpectedWithBom =
          new byte[] {-2, -1, 0, 114, 0, -55, 0, 115, 0, 117, 0, 109, 0, -55};
    
      public void testNewDataOutput_writeChars() {
        ByteArrayDataOutput out = ByteStreams.newDataOutput();
        out.writeChars("r\u00C9sum\u00C9");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/path-operation-configuration.md

    Aber falls Sie sich nicht mehr erinnern, wofür jede Nummer steht, können Sie die Abkürzungs-Konstanten in `status` verwenden:
    
    === "Python 3.10+"
    
        ```Python hl_lines="1  15"
        {!> ../../../docs_src/path_operation_configuration/tutorial001_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="3  17"
        {!> ../../../docs_src/path_operation_configuration/tutorial001_py39.py!}
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:07:48 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/path-operation-configuration.md

    Но если вы не помните, для чего нужен каждый числовой код, вы можете использовать сокращенные константы в параметре `status`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="1  15"
        {!> ../../../docs_src/path_operation_configuration/tutorial001_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="3  17"
        {!> ../../../docs_src/path_operation_configuration/tutorial001_py39.py!}
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 8K bytes
    - Viewed (0)
  10. docs/zh/docs/advanced/security/oauth2-scopes.md

    此处还创建了后续代码中要复用(`raise`)的 `HTTPException` 。
    
    该异常包含了作用域所需的(如有),以空格分割的字符串(使用 `scope_str`)。该字符串要放到包含作用域的 `WWW-Authenticate` 请求头中(这也是规范的要求)。
    
    ```Python hl_lines="105  107-115"
    {!../../../docs_src/security/tutorial005.py!}
    ```
    
    ## 校验 `username` 与数据形状
    
    我们可以校验是否获取了 `username`,并抽取作用域。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 22:43:35 GMT 2024
    - 11.8K bytes
    - Viewed (0)
Back to top