Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 976 for tipi (0.06 seconds)

  1. docs/fr/docs/advanced/async-tests.md

    ## En détail { #in-detail }
    
    Le marqueur `@pytest.mark.anyio` indique à pytest que cette fonction de test doit être appelée de manière asynchrone :
    
    {* ../../docs_src/async_tests/app_a_py310/test_main.py hl[7] *}
    
    /// tip | Astuce
    
    Notez que la fonction de test est maintenant `async def` au lieu de simplement `def` comme auparavant avec le `TestClient`.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  2. docs/pt/docs/advanced/async-tests.md

    ## Em Detalhes { #in-detail }
    
    O marcador `@pytest.mark.anyio` informa ao pytest que esta função de teste deve ser invocada de maneira assíncrona:
    
    {* ../../docs_src/async_tests/app_a_py310/test_main.py hl[7] *}
    
    /// tip | Dica
    
    Note que a função de teste é `async def` agora, no lugar de apenas `def` como quando estávamos utilizando o `TestClient` anteriormente.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  3. docs/fr/docs/advanced/settings.md

    C'est pourquoi il est courant de les fournir via des variables d'environnement lues par l'application.
    
    /// tip | Astuce
    
    Pour comprendre les variables d'environnement, vous pouvez lire [Variables d'environnement](../environment-variables.md).
    
    ///
    
    ## Types et validation { #types-and-validation }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/virtual-environments.md

    ```
    
    </div>
    
    ////
    
    /// tip
    
    每次你在這個環境中安裝一個**新的套件**時,都需要**重新啟動**這個環境。
    
    這麼做確保了當你使用一個由這個套件安裝的**終端(<abbr title="command line interface - 命令列介面">CLI</abbr>)程式**時,你使用的是你的虛擬環境中的程式,而不是全域安裝、可能版本不同的程式。
    
    ///
    
    ## 檢查虛擬環境是否啟動 { #check-the-virtual-environment-is-active }
    
    檢查虛擬環境是否啟動(前面的指令是否生效)。
    
    /// tip
    
    這是**非必需的**,但這是一個很好的方法,可以**檢查**一切是否按預期工作,以及你是否使用了你打算使用的虛擬環境。
    
    ///
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 21K bytes
    - Click Count (0)
  5. docs/zh/docs/virtual-environments.md

    ```
    
    </div>
    
    ////
    
    /// tip | 提示
    
    每次你在这个环境中安装一个 **新的包** 时,都需要 **重新激活** 这个环境。
    
    这么做确保了当你使用一个由这个包安装的 **终端(<abbr title="command line interface - 命令行界面">CLI</abbr>)程序** 时,你使用的是你的虚拟环境中的程序,而不是全局安装、可能版本不同的程序。
    
    ///
    
    ## 检查虚拟环境是否激活 { #check-the-virtual-environment-is-active }
    
    检查虚拟环境是否激活 (前面的命令是否生效)。
    
    /// tip | 提示
    
    这是 **可选的**,但这是一个很好的方法,可以 **检查** 一切是否按预期工作,以及你是否使用了你打算使用的虚拟环境。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  6. docs/tr/docs/advanced/advanced-python-types.md

    Python tipleriyle çalışırken işinize yarayabilecek bazı ek fikirler.
    
    ## `Union` veya `Optional` Kullanımı { #using-union-or-optional }
    
    Kodunuz herhangi bir nedenle `|` kullanamıyorsa — örneğin bir tip açıklamasında (type annotation) değil de `response_model=` gibi bir yerdeyse — dikey çizgi (`|`) yerine `typing` içindeki `Union`'ı kullanabilirsiniz.
    
    Örneğin, bir şeyin `str` ya da `None` olabileceğini şöyle belirtebilirsiniz:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:41:38 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  7. docs/de/docs/tutorial/first-steps.md

    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    
    Und die exotischeren:
    
    * `@app.options()`
    * `@app.head()`
    * `@app.patch()`
    * `@app.trace()`
    
    /// tip | Tipp
    
    Es steht Ihnen frei, jede Operation (HTTP-Methode) so zu verwenden, wie Sie es möchten.
    
    **FastAPI** erzwingt keine bestimmte Bedeutung.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 14.9K bytes
    - Click Count (0)
  8. docs/ja/docs/advanced/settings.md

    /// tip | 豆知識
    
    ドット(`.`)で始まるファイルは、Linux や macOS のような Unix 系システムでは隠しファイルです。
    
    ただし、dotenv ファイルは必ずしもその正確なファイル名である必要はありません。
    
    ///
    
    Pydantic は外部ライブラリを使ってこの種のファイルからの読み込みをサポートしています。詳細は [Pydantic Settings: Dotenv (.env) support](https://docs.pydantic.dev/latest/concepts/pydantic_settings/#dotenv-env-support) を参照してください。
    
    /// tip | 豆知識
    
    これを機能させるには、`pip install python-dotenv` が必要です。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  9. docs/tr/docs/tutorial/dependencies/dependencies-with-yield.md

    Bunu yapmak için `return` yerine `yield` kullanın ve ek adımları (kodu) `yield` satırından sonra yazın.
    
    /// tip | İpucu
    
    Her dependency için yalnızca bir kez `yield` kullandığınızdan emin olun.
    
    ///
    
    /// note | Teknik Detaylar
    
    Şunlarla kullanılabilen herhangi bir fonksiyon:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/advanced/async-tests.md

    {* ../../docs_src/async_tests/app_a_py310/test_main.py hl[7] *}
    
    /// tip
    
    注意,測試函式現在是 `async def`,而不是像使用 `TestClient` 時那樣僅用 `def`。
    
    ///
    
    接著,我們可以用該應用建立 `AsyncClient`,並以 `await` 發送非同步請求。
    
    {* ../../docs_src/async_tests/app_a_py310/test_main.py hl[9:12] *}
    
    這等同於:
    
    ```Python
    response = client.get('/')
    ```
    
    也就是先前用 `TestClient` 發送請求時所用的寫法。
    
    /// tip
    
    注意,對新的 `AsyncClient` 需搭配 async/await —— 請求是非同步的。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.5K bytes
    - Click Count (0)
Back to Top