Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 883 for dependentes (0.05 seconds)

  1. build-tools-internal/src/main/groovy/elasticsearch.forbidden-dependencies.gradle

     * 2.0 and the Server Side Public License, v 1; you may not use this file except
     * in compliance with, at your election, the Elastic License 2.0 or the Server
     * Side Public License, v 1.
     */
    
    // we do not want any of these dependencies on the compilation classpath
    // because they could then be used within Elasticsearch
    List<String> FORBIDDEN_DEPENDENCIES = [
      'guava'
    ]
    
    Closure checkDeps = { Configuration configuration ->
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.3K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/dependencies/classes-as-dependencies.md

    这也适用于完全没有参数的可调用对象。这与不带参数的路径操作函数一样。
    
    所以,我们可以将上面的依赖项 "可依赖对象" `common_parameters` 更改为类 `CommonQueryParams`:
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[11:15] *}
    
    注意用于创建类实例的 `__init__` 方法:
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[12] *}
    
    ...它与我们以前的 `common_parameters` 具有相同的参数:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8] *}
    
    这些参数就是 **FastAPI** 用来 "处理" 依赖项的。
    
    在两个例子下,都有:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:37:57 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/tutorial/dependencies/dependencies-with-yield.md

    例如,你可以用它建立一個資料庫 session,並在完成後關閉。
    
    只有 `yield` 之前(含 `yield` 本身)的程式碼會在產生回應之前執行:
    
    {* ../../docs_src/dependencies/tutorial007_py310.py hl[2:4] *}
    
    由 `yield` 產生的值會被注入到路徑操作(path operation)與其他相依中:
    
    {* ../../docs_src/dependencies/tutorial007_py310.py hl[4] *}
    
    位於 `yield` 之後的程式碼會在回應之後執行:
    
    {* ../../docs_src/dependencies/tutorial007_py310.py hl[5:6] *}
    
    /// tip
    
    你可以使用 `async` 或一般函式。
    
    **FastAPI** 都會正確處理,和一般相依相同。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  4. docs/ko/docs/tutorial/dependencies/classes-as-dependencies.md

    그러면 위의 의존성("dependable") `common_parameters`를 클래스 `CommonQueryParams`로 바꿀 수 있습니다:
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[11:15] *}
    
    클래스의 인스턴스를 만들 때 사용하는 `__init__` 메서드에 주목하세요:
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[12] *}
    
    ...이전의 `common_parameters`와 동일한 매개변수를 가지고 있습니다:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8] *}
    
    이 매개변수들이 **FastAPI**가 의존성을 "해결"하는 데 사용할 것들입니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:57:01 GMT 2026
    - 8K bytes
    - Click Count (0)
  5. docs/tr/docs/tutorial/dependencies/classes-as-dependencies.md

    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[11:15] *}
    
    Class instance'ını oluşturmak için kullanılan `__init__` metoduna dikkat edin:
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[12] *}
    
    ...bizim önceki `common_parameters` ile aynı parametrelere sahip:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:41:38 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  6. docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md

    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[11:15] *}
    
    Observe o método `__init__` usado para criar uma instância da classe:
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[12] *}
    
    ...ele possui os mesmos parâmetros que nosso `common_parameters` anterior:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:48:53 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/tutorial/dependencies/classes-as-dependencies.md

    接著,我們可以把上面的相依項(dependable)`common_parameters` 改成類別 `CommonQueryParams`:
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[11:15] *}
    
    注意用來建立該類別實例的 `__init__` 方法:
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[12] *}
    
    ...它的參數與我們之前的 `common_parameters` 相同:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8] *}
    
    **FastAPI** 會用這些參數來「解析」該相依性。
    
    兩種情況下都會有:
    
    - 一個可選的查詢參數 `q`,型別為 `str`。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  8. docs/ja/docs/tutorial/dependencies/classes-as-dependencies.md

    そこで、上で紹介した依存関係の"dependable" `common_parameters`を`CommonQueryParams`クラスに変更します:
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[11:15] *}
    
    クラスのインスタンスを作成するために使用される`__init__`メソッドに注目してください:
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[12] *}
    
    ...以前の`common_parameters`と同じパラメータを持っています:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8] *}
    
    これらのパラメータは **FastAPI** が依存関係を「解決」するために使用するものです。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 15:24:30 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  9. docs/uk/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    ## Залежності для групи операцій шляху { #dependencies-for-a-group-of-path-operations }
    
    Далі, читаючи про структурування великих застосунків ([Більші застосунки - декілька файлів](../../tutorial/bigger-applications.md)), можливо з кількома файлами, ви дізнаєтеся, як оголосити один параметр `dependencies` для групи *операцій шляху*.
    
    ## Глобальні залежності { #global-dependencies }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  10. docs/de/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    ## `dependencies` zum *Pfadoperation-Dekorator* hinzufügen { #add-dependencies-to-the-path-operation-decorator }
    
    Der *Pfadoperation-Dekorator* erhält ein optionales Argument `dependencies`.
    
    Es sollte eine `list` von `Depends()` sein:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[19] *}
    
    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)
Back to Top