Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 561 - 570 of 721 for Dependency (0.05 seconds)

  1. docs/ja/docs/tutorial/sql-databases.md

    `SQLModel.metadata.create_all(engine)` を使って、すべてのテーブルモデルのテーブルを作成する関数を追加します。
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[21:22] hl[21:22] *}
    
    ### Session 依存関係の作成 { #create-a-session-dependency }
    
    `Session` は、メモリ上でオブジェクトを保持して変更を追跡し、`engine` を使ってデータベースと通信します。
    
    各リクエストごとに新しい `Session` を提供する、`yield` を使った FastAPI の依存関係を作成します。これにより、1 リクエストにつき 1 つのセッションを使うことが保証されます。🤓
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 18K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/resources/inheritance-repo/t06/maven-test/poms/t06-a-1.0.pom

          <url>file://dummy</url>
        </repository>
      </repositories>
      <dependencies>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t06-b</artifactId>
          <version>1.0</version>
          <type>jar</type>
          <scope>compile</scope>
        </dependency>
      </dependencies>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 572 bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/resources/inheritance-repo/t07/maven-test/poms/t07-a-1.0.pom

          <url>file://dummy</url>
        </repository>
      </repositories>
      <dependencies>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t07-b</artifactId>
          <version>1.0</version>
          <type>jar</type>
          <scope>compile</scope>
        </dependency>
      </dependencies>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 572 bytes
    - Click Count (0)
  4. tests/test_exception_handlers.py

        }
    )
    
    client = TestClient(app)
    
    
    def raise_value_error():
        raise ValueError()
    
    
    def dependency_with_yield():
        yield raise_value_error()
    
    
    @app.get("/dependency-with-yield", dependencies=[Depends(dependency_with_yield)])
    def with_yield(): ...
    
    
    @app.get("/http-exception")
    def route_with_http_exception():
        raise HTTPException(status_code=400)
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 03 22:37:12 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  5. docs/tr/docs/tutorial/background-tasks.md

    * Görev fonksiyonuna sırayla geçirilecek argümanlar (`email`).
    * Görev fonksiyonuna geçirilecek keyword argümanlar (`message="some notification"`).
    
    ## Dependency Injection { #dependency-injection }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 5K bytes
    - Click Count (0)
  6. docs/ja/docs/tutorial/dependencies/sub-dependencies.md

    **FastAPI** はそれらを解決してくれます。
    
    ## 最初の依存関係「依存可能なもの」 { #first-dependency-dependable }
    
    以下のような最初の依存関係(「依存可能なもの」)を作成することができます:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}
    
    これはオプショナルのクエリパラメータ`q`を`str`として宣言し、それを返すだけです。
    
    これは非常にシンプルです(あまり便利ではありません)が、サブ依存関係がどのように機能するかに焦点を当てるのに役立ちます。
    
    ## 第二の依存関係 「依存可能なもの」と「依存」 { #second-dependency-dependable-and-dependant }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 15:24:30 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  7. docs/tr/docs/tutorial/security/simple-oauth2.md

    Şimdi dependency’lerimizi güncelleyeceğiz.
    
    `current_user`’ı *sadece* kullanıcı aktifse almak istiyoruz.
    
    Bu yüzden, `get_current_user`’ı dependency olarak kullanan ek bir dependency olan `get_current_active_user`’ı oluşturuyoruz.
    
    Bu iki dependency de kullanıcı yoksa veya pasifse sadece HTTP hatası döndürecek.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  8. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

        Note over dep_req: Run code up to yield
        dep_req ->> dep_func: Pass dependency
        Note over dep_func: Run code up to yield
        dep_func ->> operation: Run path operation with dependency
        operation ->> dep_func: Return from path operation
        Note over dep_func: Run code after yield
        Note over dep_func: ✅ Dependency closed
        dep_func ->> client: Send response to client
        Note over client: Response sent
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

                logScriptExecutionCalled = true;
                lastLoggedScript = script;
                lastLoggedResult = result;
                // Don't call super to avoid dependency on ComponentUtil
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  10. docs/en/docs/index.md

    * How to set **validation constraints** as `maximum_length` or `regex`.
    * A very powerful and easy to use **<dfn title="also known as components, resources, providers, services, injectables">Dependency Injection</dfn>** system.
    * Security and authentication, including support for **OAuth2** with **JWT tokens** and **HTTP Basic** auth.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 21.4K bytes
    - Click Count (0)
Back to Top