Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for 115 (0.17 sec)

  1. docs/ru/docs/tutorial/debugging.md

    # Отладка
    
    Вы можете подключить отладчик в своем редакторе, например, в Visual Studio Code или PyCharm.
    
    ## Вызов `uvicorn`
    
    В вашем FastAPI приложении, импортируйте и вызовите `uvicorn` напрямую:
    
    ```Python hl_lines="1  15"
    {!../../../docs_src/debugging/tutorial001.py!}
    ```
    
    ### Описание `__name__ == "__main__"`
    
    Главная цель использования `__name__ == "__main__"` в том, чтобы код выполнялся при запуске файла с помощью:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. docs/ko/docs/tutorial/debugging.md

    # 디버깅
    
    예를 들면 Visual Studio Code 또는 PyCharm을 사용하여 편집기에서 디버거를 연결할 수 있습니다.
    
    ## `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>
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 04:18:08 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. okhttp/src/test/java/okhttp3/CacheTest.kt

      }
    
      @Test
      fun defaultExpirationDateConditionallyCached() {
        //      last modified: 115 seconds ago
        //             served:  15 seconds ago
        //   default lifetime: (115 - 15) / 10 = 10 seconds
        //            expires:  10 seconds from served date = 5 seconds ago
        val lastModifiedDate = formatDate(-115, TimeUnit.SECONDS)
        val conditionalRequest =
          assertConditionallyCached(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/debugging.md

    # デバッグ
    
    Visual Studio CodeやPyCharmなどを使用して、エディター上でデバッガーと連携できます。
    
    ## `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>
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Feb 07 17:25:31 GMT 2021
    - 3K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/oauth2-jwt.md

        {!> ../../../docs_src/security/tutorial004_py310.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="115-130"
        {!> ../../../docs_src/security/tutorial004.py!}
        ```
    
    ### Technical details about the JWT "subject" `sub`
    
    The JWT specification says that there's a key `sub`, with the subject of the token.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/security/oauth2-scopes.md

    === "Python 3.10+"
    
        ```Python hl_lines="105  107-115"
        {!> ../../../docs_src/security/tutorial005_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="105  107-115"
        {!> ../../../docs_src/security/tutorial005_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="106  108-116"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:26:08 GMT 2024
    - 22.8K bytes
    - Viewed (0)
Back to top