Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 478 for tutoriel (0.47 sec)

  1. docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md

    ## Контекстные менеджеры
    
    ### Что такое "контекстные менеджеры"
    
    "Контекстные менеджеры" - это любые объекты Python, которые можно использовать в операторе `with`.
    
    Например, <a href="https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">можно использовать `with` для чтения файла</a>:
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. docs/ja/docs/advanced/custom-response.md

    `generate_html_response()` を呼び出した結果を返すことにより、**FastAPI** の振る舞いを上書きする `Response` が既に返されています。
    
    しかし、一方では `response_class` に `HTMLResponse` を渡しているため、 **FastAPI** はOpenAPIや対話的ドキュメントでHTMLとして `text/html` でドキュメント化する方法を知っています。
    
    <img src="/img/tutorial/custom-response/image01.png">
    
    ## 利用可能なレスポンス
    
    以下が利用可能なレスポンスの一部です。
    
    `Response` を使って他の何かを返せますし、カスタムのサブクラスも作れることを覚えておいてください。
    
    /// note | 技術詳細
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/dependencies/index.md

    ///
    
    ## OpenAPIとの統合
    
    依存関係(およびサブ依存関係)のすべてのリクエスト宣言、検証、および要件は、同じOpenAPIスキーマに統合されます。
    
    つまり、対話型ドキュメントにはこれらの依存関係から得られる全ての情報も含まれているということです:
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/dependencies/image01.png">
    
    ## 簡単な使い方
    
    見てみると、*path*と*operation*が一致した時に*path operation関数*が宣言されていて、**FastAPI** が正しいパラメータで関数を呼び出してリクエストからデータを抽出する処理をしています。
    
    実は、すべての(あるいはほとんどの)Webフレームワークは、このように動作します。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. docs/de/docs/async.md

    ### Abhängigkeiten
    
    Das Gleiche gilt für [Abhängigkeiten](tutorial/dependencies/index.md){.internal-link target=_blank}. Wenn eine Abhängigkeit eine normale `def`-Funktion ist, anstelle einer `async def`-Funktion, dann wird sie im externen Threadpool ausgeführt.
    
    ### Unterabhängigkeiten
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/dependencies/classes-as-dependencies.md

    以下にあるように:
    
    {* ../../docs_src/dependencies/tutorial003.py hl[19] *}
    
    しかし、型を宣言することは推奨されています。そうすれば、エディタは`commons`のパラメータとして何が渡されるかを知ることができ、コードの補完や型チェックなどを行うのに役立ちます:
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/dependencies/image02.png">
    
    ## ショートカット
    
    しかし、ここでは`CommonQueryParams`を2回書くというコードの繰り返しが発生していることがわかります:
    
    ```Python
    commons: CommonQueryParams = Depends(CommonQueryParams)
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    ### What are "Context Managers" { #what-are-context-managers }
    
    "Context Managers" are any of those Python objects that you can use in a `with` statement.
    
    For example, <a href="https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">you can use `with` to read a file</a>:
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. docs/de/docs/deployment/server-workers.md

    * Sicherheit – HTTPS
    * Beim Hochfahren ausführen
    * Neustarts
    * **Replikation (die Anzahl der laufenden Prozesse)**
    * Arbeitsspeicher
    * Schritte vor dem Start
    
    Bis zu diesem Punkt, in allen Tutorials in der Dokumentation, haben Sie wahrscheinlich ein **Serverprogramm** wie Uvicorn ausgeführt, in einem **einzelnen Prozess**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. docs/vi/docs/features.md

    Tất cả cơ chế bảo mật định nghĩa trong OpenAPI, bao gồm:
    
    * HTTP Basic.
    * **OAuth2** (với **JWT tokens**). Xem hướng dẫn [OAuth2 with JWT](tutorial/security/oauth2-jwt.md){.internal-link target=_blank}.
    * API keys in:
        * Headers.
        * Các tham số trong query string.
        * Cookies, etc.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. docs/uk/docs/index.md

    ![editor support](https://fastapi.tiangolo.com/img/vscode-completion.png)
    
    Для більш повного ознайомлення з додатковими функціями, перегляньте <a href="https://fastapi.tiangolo.com/tutorial/">Туторіал - Посібник Користувача</a>.
    
    **Spoiler alert**: туторіал - посібник користувача містить:
    
    * Оголошення **параметрів** з інших місць як: **headers**, **cookies**, **form fields** та **files**.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    ## Context Managers
    
    ### Qué son los "Context Managers"
    
    Los "Context Managers" son aquellos objetos de Python que puedes usar en una declaración `with`.
    
    Por ejemplo, <a href="https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">puedes usar `with` para leer un archivo</a>:
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top