Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 721 for Dependency (0.05 seconds)

  1. src/test/java/jcifs/smb/HandlerTest.java

            assertSame(mockCtx, file.getContext(), "SmbFile must use the provided CIFSContext");
            verify(mockCtx, atLeastOnce()).getConfig(); // interaction with dependency
        }
    
        @Test
        @DisplayName("openConnection with null URL throws NullPointerException")
        void testOpenConnection_NullInput() {
            // Arrange
            Handler handler = newHandlerWith(mockCtx);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

            }
            if (!failures.isEmpty()) {
                IllegalStateException mavenDiFailed = new IllegalStateException(
                        "Maven dependency injection failed for at least one of the registered core extension");
                failures.forEach(mavenDiFailed::addSuppressed);
                throw mavenDiFailed;
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/tutorial/security/get-current-user.md

    先建立一個 Pydantic 的使用者模型。
    
    就像用 Pydantic 宣告請求體一樣,我們也可以在其他地方使用它:
    
    {* ../../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`。
    
    如同先前在*路徑操作*中直接做的一樣,新的依賴 `get_current_user` 會從子依賴 `oauth2_scheme` 接收一個作為 `str` 的 `token`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/tutorial/background-tasks.md

    {* ../../docs_src/background_tasks/tutorial001_py310.py hl[14] *}
    
    `.add_task()` 的引數包括:
    
    * 要在背景執行的任務函式(`write_notification`)。
    * 依序傳給任務函式的位置引數(`email`)。
    * 要傳給任務函式的關鍵字引數(`message="some notification"`)。
    
    ## 相依性注入 { #dependency-injection }
    
    在相依性注入系統中也可使用 `BackgroundTasks`。你可以在多個層級宣告 `BackgroundTasks` 型別的參數:路徑操作函式、相依項(dependable)、次級相依項等。
    
    **FastAPI** 會在各種情況下正確處理並重用同一個物件,將所有背景任務合併,並在之後於背景執行:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/websockets.md

    There you can set:
    
    * The "Item ID", used in the path.
    * The "Token" used as a query parameter.
    
    /// tip
    
    Notice that the query `token` will be handled by a dependency.
    
    ///
    
    With that you can connect the WebSocket and then send and receive messages:
    
    <img src="/img/tutorial/websockets/image05.png">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

    import org.apache.maven.artifact.versioning.InvalidVersionSpecificationException;
    import org.apache.maven.artifact.versioning.VersionRange;
    import org.apache.maven.model.Dependency;
    import org.apache.maven.model.Exclusion;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.model.Repository;
    import org.apache.maven.model.RepositoryPolicy;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 31.2K bytes
    - Click Count (0)
  7. migrator/migrator.go

    	type Dependency struct {
    		*gorm.Statement
    		Depends []*schema.Schema
    	}
    
    	var (
    		modelNames, orderedModelNames []string
    		orderedModelNamesMap          = map[string]bool{}
    		parsedSchemas                 = map[*schema.Schema]bool{}
    		valuesMap                     = map[string]Dependency{}
    		insertIntoOrderedList         func(name string)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 29.8K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

            void shouldExecuteStrategiesInPriorityOrder() throws Exception {
                // This test verifies that strategies are executed in the order they are provided
                // The actual priority ordering is handled by dependency injection
                UpgradeContext context = createMockContext();
                Map<Path, Document> pomMap = Map.of(Paths.get("pom.xml"), mock(Document.class));
    
                // Mock all strategies as applicable
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  9. docs/ko/docs/tutorial/dependencies/classes-as-dependencies.md

    하지만 그러면 *경로 처리 함수*의 매개변수 `commons`에서 `dict`를 받게 됩니다.
    
    그리고 에디터는 `dict`의 키와 값 타입을 알 수 없기 때문에 `dict`에 대해서는 (완성 기능 같은) 많은 지원을 제공할 수 없다는 것을 알고 있습니다.
    
    더 나은 방법이 있습니다...
    
    ## 의존성이 되기 위한 조건 { #what-makes-a-dependency }
    
    지금까지는 함수로 선언된 의존성을 봤습니다.
    
    하지만 그것만이 의존성을 선언하는 유일한 방법은 아닙니다(아마도 더 일반적이긴 하겠지만요).
    
    핵심 요소는 의존성이 "호출 가능(callable)"해야 한다는 것입니다.
    
    파이썬에서 "**호출 가능(callable)**"이란 파이썬이 함수처럼 "호출"할 수 있는 모든 것입니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:57:01 GMT 2026
    - 8K bytes
    - Click Count (0)
  10. docs/ja/docs/tutorial/background-tasks.md

    `.add_task()` は以下の引数を受け取ります:
    
    * バックグラウンドで実行されるタスク関数 (`write_notification`)。
    * タスク関数に順番に渡す必要のある引数の列 (`email`)。
    * タスク関数に渡す必要のあるキーワード引数 (`message="some notification"`)。
    
    ## 依存性注入 { #dependency-injection }
    
    `BackgroundTasks` の使用は依存性注入システムでも機能し、様々な階層 (*path operation function*、依存性 (dependable)、サブ依存性など) で `BackgroundTasks` 型のパラメーターを宣言できます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 5.8K bytes
    - Click Count (0)
Back to Top