Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 681 for Python3 (0.05 sec)

  1. docs/uk/docs/tutorial/middleware.md

    {* ../../docs_src/middleware/tutorial001.py hl[10,12:13] *}
    
    
    /// tip | Підказка
    
    Тут ми використовуємо <a href="https://docs.python.org/3/library/time.html#time.perf_counter" class="external-link" target="_blank">`time.perf_counter()`</a> замість `time.time()` оскільки він може бути більш точним для таких випадків. 🤓
    
    ///
    
    ## Інші middlewares
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:35:33 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. docs/fr/docs/tutorial/index.md

    Vous pouvez donc revenir et voir exactement ce dont vous avez besoin.
    
    ## Exécuter le code
    
    Tous les blocs de code peuvent être copiés et utilisés directement (il s'agit en fait de fichiers Python testés).
    
    Pour exécuter l'un de ces exemples, copiez le code dans un fichier `main.py`, et commencez `uvicorn` avec :
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/security/oauth2-jwt.md

    ## Установка `PyJWT`
    
    Нам необходимо установить `pyjwt` для генерации и проверки JWT-токенов на языке Python.
    
    Убедитесь, что вы создали [виртуальное окружение](../../virtual-environments.md){.internal-link target=_blank}, активируйте его, а затем установите `pyjwt`:
    
    <div class="termy">
    
    ```console
    $ pip install pyjwt
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  4. docs/fr/docs/benchmarks.md

    Mais en prêtant attention aux tests de performance et aux comparaisons, il faut tenir compte de ce qu'il suit.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Jul 27 18:49:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. docs/vi/docs/tutorial/index.md

    Do đó bạn có thể quay lại và tìm chính xác những gì bạn cần.
    
    ## Chạy mã
    
    Tất cả các code block có thể được sao chép và sử dụng trực tiếp (chúng thực chất là các tệp tin Python đã được kiểm thử).
    
    Để chạy bất kì ví dụ nào, sao chép code tới tệp tin `main.py`, và bắt đầu `uvicorn` với:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/templates.md

    Im HTML, welches enthält:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    ... wird die `id` angezeigt, welche dem „Kontext“-`dict` entnommen wird, welches Sie übergeben haben:
    
    ```Python
    {"id": id}
    ```
    
    Mit beispielsweise einer ID `42` würde das wie folgt gerendert werden:
    
    ```html
    Item ID: 42
    ```
    
    ### Template-`url_for`-Argumente
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/templates.md

    ### Interpolação de Valores no Template
    
    No código HTML que contém:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    ...aparecerá o `id` obtido do "context" `dict` que você passou:
    
    ```Python
    {"id": id}
    ```
    
    Por exemplo, dado um ID de valor `42`, aparecerá:
    
    ```html
    Item ID: 42
    ```
    
    ### Argumentos do `url_for`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/handling-errors.md

    HTTPレスポンスをエラーでクライアントに返すには、`HTTPException`を使用します。
    
    ### `HTTPException`のインポート
    
    {* ../../docs_src/handling_errors/tutorial001.py hl[1] *}
    
    ### コード内での`HTTPException`の発生
    
    `HTTPException`は通常のPythonの例外であり、APIに関連するデータを追加したものです。
    
    Pythonの例外なので、`return`ではなく、`raise`です。
    
    これはまた、*path operation関数*の内部で呼び出しているユーティリティ関数の内部から`HTTPException`を発生させた場合、*path operation関数*の残りのコードは実行されず、そのリクエストを直ちに終了させ、`HTTPException`からのHTTPエラーをクライアントに送信することを意味します。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Jun 22 14:35:27 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/dataclasses.md

    # Using Dataclasses { #using-dataclasses }
    
    FastAPI is built on top of **Pydantic**, and I have been showing you how to use Pydantic models to declare requests and responses.
    
    But FastAPI also supports using <a href="https://docs.python.org/3/library/dataclasses.html" class="external-link" target="_blank">`dataclasses`</a> the same way:
    
    {* ../../docs_src/dataclasses/tutorial001.py hl[1,7:12,19:20] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/dataclasses.md

    FastAPI basiert auf **Pydantic** und ich habe Ihnen gezeigt, wie Sie Pydantic-Modelle verwenden können, um Requests und Responses zu deklarieren.
    
    Aber FastAPI unterstützt auf die gleiche Weise auch die Verwendung von <a href="https://docs.python.org/3/library/dataclasses.html" class="external-link" target="_blank">`dataclasses`</a>:
    
    {* ../../docs_src/dataclasses/tutorial001.py hl[1,7:12,19:20] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 10:12:35 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top