Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 941 - 950 of 2,098 for info_ (0.05 seconds)

  1. tests/test_additional_responses_union_duplicate_anyof.py

    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/route1": {
                        "get": {
                            "summary": "Route1",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_additional_responses/test_tutorial001.py

    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/items/{item_id}": {
                        "get": {
                            "responses": {
                                "404": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  3. docs/de/docs/tutorial/body.md

    Um einen **Request**body zu deklarieren, verwenden Sie [Pydantic](https://docs.pydantic.dev/)-Modelle mit all deren Fähigkeiten und Vorzügen.
    
    /// info | Info
    
    Um Daten zu senden, sollten Sie eines von: `POST` (meistverwendet), `PUT`, `DELETE` oder `PATCH` verwenden.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  4. docs/fr/docs/tutorial/path-params-numeric-validations.md

    ## Importer `Path` { #import-path }
    
    Tout d'abord, importez `Path` de `fastapi`, et importez `Annotated` :
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[1,3] *}
    
    /// info
    
    FastAPI a ajouté le support pour `Annotated` (et a commencé à le recommander) dans la version 0.95.0.
    
    Si vous avez une version plus ancienne, vous obtiendrez des erreurs en essayant d'utiliser `Annotated`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  5. docs/pt/docs/tutorial/body-nested-models.md

            }
        ]
    }
    ```
    
    /// info | Informação
    
    Observe como a chave `images` agora tem uma lista de objetos de imagem.
    
    ///
    
    ## Modelos profundamente aninhados { #deeply-nested-models }
    
    Você pode definir modelos profundamente aninhados de forma arbitrária:
    
    {* ../../docs_src/body_nested_models/tutorial007_py310.py hl[7,12,18,21,25] *}
    
    /// info | Informação
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  6. docs/pt/docs/tutorial/path-params-numeric-validations.md

    ## Importe `Path` { #import-path }
    
    Primeiro, importe `Path` de `fastapi`, e importe `Annotated`:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[1,3] *}
    
    /// info | Informação
    
    O FastAPI adicionou suporte a `Annotated` (e passou a recomendá-lo) na versão 0.95.0.
    
    Se você tiver uma versão mais antiga, verá erros ao tentar usar `Annotated`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/advanced/stream-data.md

    # 串流資料 { #stream-data }
    
    如果你要串流可用 JSON 結構化的資料,應該[串流 JSON Lines](../tutorial/stream-json-lines.md)。
    
    但如果你想串流純二進位資料或字串,以下是做法。
    
    /// info
    
    已在 FastAPI 0.134.0 新增。
    
    ///
    
    ## 使用情境 { #use-cases }
    
    當你想串流純字串時可以用這個機制,例如直接轉發來自 AI LLM 服務的輸出。
    
    你也可以用它來串流大型二進位檔案,邊讀邊將每個區塊(chunk)串流出去,而不必一次把整個檔案載入記憶體。
    
    你也可以用同樣方式串流視訊或音訊,甚至可以在處理的同時即時產生並傳送。
    
    ## 使用 `yield` 的 `StreamingResponse` { #a-streamingresponse-with-yield }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  8. docs/ko/docs/index.md

     ╰─────────────────────────────────────────────────────╯
    
    INFO:     Will watch for changes in these directories: ['/home/user/code/awesomeapp']
    INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    INFO:     Started reloader process [2248755] using WatchFiles
    INFO:     Started server process [2248757]
    INFO:     Waiting for application startup.
    INFO:     Application startup complete.
    ```
    
    </div>
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 23.4K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/testing.md

    With it, you can use [pytest](https://docs.pytest.org/) directly with **FastAPI**.
    
    ## Using `TestClient` { #using-testclient }
    
    /// info
    
    To use `TestClient`, first install [`httpx`](https://www.python-httpx.org).
    
    Make sure you create a [virtual environment](../virtual-environments.md), activate it, and then install it, for example:
    
    ```console
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  10. docs/ja/docs/advanced/openapi-webhooks.md

    **FastAPI** と OpenAPI を使うと、Webhook の名前、アプリが送信できる HTTP の操作(例: `POST`, `PUT` など)、アプリが送るリクエストの**ボディ**を定義できます。
    
    これにより、ユーザーがあなたの **Webhook** リクエストを受け取るための**API を実装**するのが大幅に簡単になります。場合によっては、ユーザーが自分たちの API コードを自動生成できるかもしれません。
    
    /// info | 情報
    
    Webhook は OpenAPI 3.1.0 以上で利用可能で、FastAPI `0.99.0` 以上が対応しています。
    
    ///
    
    ## Webhook を持つアプリ { #an-app-with-webhooks }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 3.5K bytes
    - Click Count (0)
Back to Top