Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 763 for tipi (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/en/docs/tutorial/testing.md

    Write simple `assert` statements with the standard Python expressions that you need to check (again, standard `pytest`).
    
    {* ../../docs_src/app_testing/tutorial001_py310.py hl[2,12,15:18] *}
    
    /// tip
    
    Notice that the testing functions are normal `def`, not `async def`.
    
    And the calls to the client are also normal calls, not using `await`.
    
    This allows you to use `pytest` directly without complications.
    
    ///
    
    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)
  2. docs/zh-hant/docs/how-to/custom-request-and-route.md

    ## 處理自訂請求本文編碼 { #handling-custom-request-body-encodings }
    
    讓我們看看如何使用自訂的 `Request` 子類別來解壓縮 gzip 請求。
    
    並透過 `APIRoute` 子類別來使用該自訂的請求類別。
    
    ### 建立自訂的 `GzipRequest` 類別 { #create-a-custom-gziprequest-class }
    
    /// tip
    
    這是一個示範用的簡化範例;如果你需要 Gzip 支援,可以直接使用提供的 [`GzipMiddleware`](../advanced/middleware.md#gzipmiddleware)。
    
    ///
    
    首先,我們建立 `GzipRequest` 類別,它會覆寫 `Request.body()` 方法,當存在對應的標頭時解壓縮本文。
    
    如果標頭中沒有 `gzip`,它就不會嘗試解壓縮本文。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  3. docs/tr/docs/tutorial/path-params-numeric-validations.md

    ///
    
    ## Parametreleri İhtiyacınıza Göre Sıralayın { #order-the-parameters-as-you-need }
    
    /// tip | İpucu
    
    `Annotated` kullanıyorsanız, bu muhtemelen o kadar önemli ya da gerekli değildir.
    
    ///
    
    Diyelim ki query parametresi `q`'yu zorunlu bir `str` olarak tanımlamak istiyorsunuz.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/stream-json-lines.md

    由于每个 JSON 对象将以换行分隔,它们的内容中不能包含字面量换行符,但可以包含转义换行符(`\n`),这属于 JSON 标准的一部分。
    
    不过通常你无需操心,这些都会自动完成,继续阅读即可。🤓
    
    ///
    
    ## 使用场景 { #use-cases }
    
    你可以用它来从 AI LLM 服务、日志或遥测中流式传输数据,或其他可以用 JSON 项目来结构化的数据。
    
    /// tip | 提示
    
    如果你想流式传输二进制数据,例如视频或音频,请查看进阶指南:[流式传输数据](../advanced/stream-data.md)。
    
    ///
    
    ## 使用 FastAPI 流式传输 JSON Lines { #stream-json-lines-with-fastapi }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  5. docs/tr/docs/tutorial/body-fields.md

    `fastapi`'den `Query`, `Path` ve diğerlerini import ettiğinizde, bunların aslında özel sınıflar döndüren fonksiyonlar olduğunu unutmayın.
    
    ///
    
    /// tip | İpucu
    
    Type, varsayılan değer ve `Field` ile tanımlanan her model attribute'unun yapısının, *path operation function* parametresiyle aynı olduğuna dikkat edin; sadece `Path`, `Query` ve `Body` yerine `Field` kullanılmıştır.
    
    ///
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 15:43:38 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/query-param-models.md

                "input": "plumbus"
            }
        ]
    }
    ```
    
    ## Summary { #summary }
    
    You can use **Pydantic models** to declare **query parameters** in **FastAPI**. 😎
    
    /// tip
    
    Spoiler alert: you can also use Pydantic models to declare cookies and headers, but you will read about that later in the tutorial. 🤫
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  7. docs/uk/docs/tutorial/body-fields.md

    Пам'ятайте, що коли ви імпортуєте `Query`, `Path` та інші з `fastapi`, це фактично функції, які повертають спеціальні класи.
    
    ///
    
    /// tip | Порада
    
    Зверніть увагу, що кожен атрибут моделі з типом, значенням за замовчуванням і `Field` має ту саму структуру, що й параметр *функції операції шляху*, з `Field` замість `Path`, `Query` і `Body`.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Jan 11 00:15:06 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  8. docs/tr/docs/tutorial/query-param-models.md

                "input": "plumbus"
            }
        ]
    }
    ```
    
    ## Özet { #summary }
    
    **FastAPI** içinde **query parameter**’ları tanımlamak için **Pydantic model**’leri kullanabilirsiniz. 😎
    
    /// tip | İpucu
    
    Spoiler: cookie ve header’ları tanımlamak için de Pydantic model’leri kullanabilirsiniz; ancak bunu tutorial’ın ilerleyen bölümlerinde göreceksiniz. 🤫
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 15:43:38 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/events.md

    And then, right after the `yield`, we unload the model. This code will be executed **after** the application **finishes handling requests**, right before the *shutdown*. This could, for example, release resources like memory or a GPU.
    
    /// tip
    
    The `shutdown` would happen when you are **stopping** the application.
    
    Maybe you need to start a new version, or you just got tired of running it. 🤷
    
    ///
    
    ### Lifespan function { #lifespan-function }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  10. docs/pt/docs/advanced/events.md

    /// tip | Dica
    
    O `shutdown` aconteceria quando você estivesse **encerrando** a aplicação.
    
    Talvez você precise iniciar uma nova versão, ou apenas cansou de executá-la. 🤷
    
    ///
    
    ### Função lifespan { #lifespan-function }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 8.7K bytes
    - Click Count (0)
Back to Top