Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 611 - 620 of 721 for Dependency (0.07 seconds)

  1. docs/tr/docs/tutorial/bigger-applications.md

    Bu yüzden onları ayrı bir `dependencies` module’üne koyuyoruz (`app/dependencies.py`).
    
    Şimdi, özel bir `X-Token` header'ını okumak için basit bir dependency kullanalım:
    
    {* ../../docs_src/bigger_applications/app_an_py310/dependencies.py hl[3,6:8] title["app/dependencies.py"] *}
    
    /// tip | İpucu
    
    Örneği basit tutmak için uydurma bir header kullanıyoruz.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 20.3K bytes
    - Click Count (0)
  2. TESTING.asciidoc

    Read your IDE documentation for how to attach a debugger to a JVM process.
    
    == Building with extra plugins
    Additional plugins may be built alongside elasticsearch, where their
    dependency on elasticsearch will be substituted with the local elasticsearch
    build. To add your plugin, create a directory called elasticsearch-extra as
    a sibling of elasticsearch. Checkout your plugin underneath elasticsearch-extra
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jun 07 13:55:20 GMT 2021
    - 32.5K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    在這個範例中我們使用了自訂的(虛構的)標頭 `X-Key` 與 `X-Token`。
    
    但在實際情況下,當你實作安全機制時,使用整合的 [Security utilities(下一章)](../security/index.md) 會獲得更多好處。
    
    ///
    
    ## 依賴的錯誤與回傳值 { #dependencies-errors-and-return-values }
    
    你可以使用與平常相同的依賴函式。
    
    ### 依賴的需求 { #dependency-requirements }
    
    它們可以宣告請求需求(例如標頭(headers))或其他子依賴:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[8,13] *}
    
    ### 拋出例外 { #raise-exceptions }
    
    這些依賴可以 `raise` 例外,與一般依賴相同:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  4. docs/ru/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002_an_py310.py hl[5,12:6] *}
    
    ## Создать зависимость `get_current_user` { #create-a-get-current-user-dependency }
    
    Давайте создадим зависимость `get_current_user`.
    
    Помните, что у зависимостей могут быть подзависимости?
    
    `get_current_user` будет иметь зависимость от того же `oauth2_scheme`, который мы создали ранее.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 19:57:34 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  5. docs/de/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    ///
    
    ## Abhängigkeitsfehler und -Rückgabewerte { #dependencies-errors-and-return-values }
    
    Sie können dieselben Abhängigkeits-*Funktionen* verwenden, die Sie normalerweise verwenden.
    
    ### Abhängigkeitsanforderungen { #dependency-requirements }
    
    Sie können Anforderungen für einen <abbr title="Request – Anfrage: Daten, die der Client zum Server sendet">Request</abbr> (wie Header) oder andere Unterabhängigkeiten deklarieren:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  6. docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md

    будет корректной для использования в качестве зависимости **FastAPI**.
    
    На самом деле, FastAPI использует эти два декоратора внутренне.
    
    ///
    
    ## Зависимость базы данных с помощью `yield` { #a-database-dependency-with-yield }
    
    Например, с его помощью можно создать сессию работы с базой данных и закрыть её после завершения.
    
    Перед созданием ответа будет выполнен только код до и включая оператор `yield`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 19.4K bytes
    - Click Count (0)
  7. CONTRIBUTING.md

    common configurations in our build and how we use them:
    
    <dl>
    <dt>`implementation`</dt><dd>Dependencies that are used by the project
    at compile and runtime but are not exposed as a compile dependency to other dependent projects.
    Dependencies added to the `implementation` configuration are considered an implementation detail
    that can be changed at a later date without affecting any dependent projects.</dd>
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 07:32:01 GMT 2021
    - 36.5K bytes
    - Click Count (0)
  8. docs/fr/docs/advanced/testing-dependencies.md

    ### Utiliser l’attribut `app.dependency_overrides` { #use-the-app-dependency-overrides-attribute }
    
    Pour ces cas, votre **FastAPI** application possède un attribut `app.dependency_overrides` ; c’est un simple `dict`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  9. docs/uk/docs/tutorial/background-tasks.md

    * Будь-які іменовані аргументи, які потрібно передати у функцію задачі (`message="some notification"`).
    
    ## Впровадження залежностей { #dependency-injection }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  10. docs/ko/docs/advanced/testing-dependencies.md

    외부 제공자를 한 번만 테스트하고 싶을 수도 있지만 테스트를 실행할 때마다 반드시 호출할 필요는 없습니다.
    
    이 경우 해당 공급자를 호출하는 의존성을 오버라이드하고 테스트에 대해서만 모의 사용자를 반환하는 사용자 지정 의존성을 사용할 수 있습니다.
    
    ### `app.dependency_overrides` 속성 사용하기 { #use-the-app-dependency-overrides-attribute }
    
    이런 경우를 위해 **FastAPI** 애플리케이션에는 `app.dependency_overrides`라는 속성이 있습니다. 이는 간단한 `dict`입니다.
    
    테스트를 위해 의존성을 오버라이드하려면, 원래 의존성(함수)을 키로 설정하고 오버라이드할 의존성(다른 함수)을 값으로 설정합니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Jan 11 00:15:26 GMT 2026
    - 2.8K bytes
    - Click Count (0)
Back to Top