Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 826 for getting (0.26 seconds)

  1. docs/en/docs/advanced/testing-dependencies.md

    # Testing Dependencies with Overrides { #testing-dependencies-with-overrides }
    
    ## Overriding dependencies during testing { #overriding-dependencies-during-testing }
    
    There are some scenarios where you might want to override a dependency during testing.
    
    You don't want the original dependency to run (nor any of the sub-dependencies it might have).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/settings.md

    {* ../../docs_src/settings/app02_an_py310/main.py hl[17,19:21] *}
    
    ### Settings and testing { #settings-and-testing }
    
    Then it would be very easy to provide a different settings object during testing by creating a dependency override for `get_settings`:
    
    {* ../../docs_src/settings/app02_an_py310/test_main.py hl[9:10,13,21] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/resources/userHome/.m2/settings.xml

    <settings xmlns="http://maven.apache.org/SETTINGS/1.1.0">
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Jun 16 14:57:14 GMT 2025
    - 70 bytes
    - Click Count (0)
  4. docs/fr/docs/advanced/settings.md

    Il convertira ensuite et validera les données. Ainsi, lorsque vous utilisez cet objet `settings`, vous aurez des données des types que vous avez déclarés (par exemple, `items_per_user` sera un `int`).
    
    ### Utiliser `settings` { #use-the-settings }
    
    Vous pouvez ensuite utiliser le nouvel objet `settings` dans votre application :
    
    {* ../../docs_src/settings/tutorial001_py310.py hl[18:20] *}
    
    ### Exécuter le serveur { #run-the-server }
    
    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)
  5. docs/ko/docs/advanced/settings.md

    ## Pydantic `Settings` { #pydantic-settings }
    
    다행히 Pydantic은 환경 변수에서 오는 이러한 설정을 처리할 수 있는 훌륭한 유틸리티를 [Pydantic: Settings 관리](https://docs.pydantic.dev/latest/concepts/pydantic_settings/)로 제공합니다.
    
    ### `pydantic-settings` 설치하기 { #install-pydantic-settings }
    
    먼저 [가상 환경](../virtual-environments.md)을 만들고 활성화한 다음, `pydantic-settings` 패키지를 설치하세요:
    
    <div class="termy">
    
    ```console
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/advanced/settings.md

    ///
    
    接著,當你建立該 `Settings` 類別的實例(此處為 `settings` 物件)時,Pydantic 會以不區分大小寫的方式讀取環境變數,因此,即使環境變數是大寫的 `APP_NAME`,也會被讀入屬性 `app_name`。
    
    然後它會轉換並驗證資料。因此,當你使用該 `settings` 物件時,你會得到你宣告的型別的資料(例如 `items_per_user` 會是 `int`)。
    
    ### 使用 `settings` { #use-the-settings }
    
    接著你可以在應用程式中使用新的 `settings` 物件:
    
    {* ../../docs_src/settings/tutorial001_py310.py hl[18:20] *}
    
    ### 執行伺服器 { #run-the-server }
    
    接下來,你可以在啟動伺服器時,將設定以環境變數傳入。舉例來說,你可以設定 `ADMIN_EMAIL` 與 `APP_NAME`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  7. docs/ja/docs/tutorial/testing.md

    # テスト { #testing }
    
    [Starlette](https://www.starlette.dev/testclient/) のおかげで、**FastAPI** アプリケーションのテストは簡単で楽しいものになっています。
    
    [HTTPX](https://www.python-httpx.org) がベースで、さらにその設計は Requests をベースにしているため、とても馴染みがあり直感的です。
    
    これを使用すると、**FastAPI** と共に [pytest](https://docs.pytest.org/) を直接利用できます。
    
    ## `TestClient` を使用 { #using-testclient }
    
    /// info
    
    `TestClient` を使用するには、まず [`httpx`](https://www.python-httpx.org) をインストールします。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  8. architecture/standards/0004-use-a-platform-architecture.md

    This platform provides specific support for Swift, C++ and C.
    
    ### Cross-cutting architecture modules
    
    There are some additional cross-cutting architecture modules that aren't themselves platforms:
    
    #### Enterprise integration
    
    Provides cross-cutting integration with Gradle's commercial product.
    
    #### IDE integration
    
    Provides cross-cutting integration with IDEs and other tooling.
    
    #### Build infrastructure
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  9. docs/ko/docs/tutorial/testing.md

    # 테스팅 { #testing }
    
    [Starlette](https://www.starlette.dev/testclient/) 덕분에 **FastAPI** 애플리케이션을 테스트하는 일은 쉽고 즐거운 일이 되었습니다.
    
    이는 [HTTPX](https://www.python-httpx.org)를 기반으로 하며, 이는 Requests를 기반으로 설계되었기 때문에 매우 친숙하고 직관적입니다.
    
    이를 사용하면 **FastAPI**에서 [pytest](https://docs.pytest.org/)를 직접 사용할 수 있습니다.
    
    ## `TestClient` 사용하기 { #using-testclient }
    
    /// info | 정보
    
    `TestClient` 사용하려면, 우선 [`httpx`](https://www.python-httpx.org)를 설치해야 합니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/testing.md

    # Testando { #testing }
    
    Graças ao [Starlette](https://www.starlette.dev/testclient/), testar aplicações **FastAPI** é fácil e agradável.
    
    Ele é baseado no [HTTPX](https://www.python-httpx.org), que por sua vez é projetado com base em Requests, por isso é muito familiar e intuitivo.
    
    Com ele, você pode usar o [pytest](https://docs.pytest.org/) diretamente com **FastAPI**.
    
    ## Usando `TestClient` { #using-testclient }
    
    /// info | Informação
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 6.1K bytes
    - Click Count (0)
Back to Top