- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 202 for injecting (0.08 seconds)
-
docs/es/docs/tutorial/background-tasks.md
* Cualquier argumento de palabras clave que deba pasarse a la función de tarea (`message="some notification"`). ## Inyección de Dependencias { #dependency-injection }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 5K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/WitnessClientTest.java
} public WitnessNotification getLastNotification() { return lastNotification; } } /** * Test witness client that allows injection of mock RPC client */ private static class TestWitnessClient extends WitnessClient { public TestWitnessClient(InetAddress witnessServer, CIFSContext context, WitnessRpcClient rpcClient) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 9.8K bytes - Click Count (0) -
docs/zh/docs/tutorial/background-tasks.md
`.add_task()` 接收以下参数: * 在后台运行的任务函数(`write_notification`)。 * 应按顺序传递给任务函数的任意参数序列(`email`)。 * 应传递给任务函数的任意关键字参数(`message="some notification"`)。 ## 依赖注入 { #dependency-injection } 使用 `BackgroundTasks` 也适用于依赖注入系统,你可以在多个级别声明 `BackgroundTasks` 类型的参数:在 *路径操作函数* 里,在依赖中(可依赖),在子依赖中,等等。 **FastAPI** 知道在每种情况下该做什么以及如何复用同一对象,因此所有后台任务被合并在一起并且随后在后台运行:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 4.1K bytes - Click Count (0) -
docs/zh-hant/docs/features.md
* 查詢參數 * Cookies,等等。 加上來自 Starlette(包括 **session cookie**)的所有安全特性。 所有的這些都是可重複使用的工具和套件,可以輕鬆與你的系統、資料儲存(Data Stores)、關聯式資料庫(RDBMS)以及非關聯式資料庫(NoSQL)等等整合。 ### 依賴注入(Dependency Injection) { #dependency-injection } FastAPI 有一個使用簡單,但是非常強大的 <dfn title='也稱為「components」、「resources」、「services」、「providers」'><strong>依賴注入</strong></dfn> 系統。 * 依賴項甚至可以有自己的依賴,從而形成一個層級或**依賴圖**的結構。 * 所有**自動化處理**都由框架完成。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 9.2K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
# Classes as Dependencies { #classes-as-dependencies } Before diving deeper into the **Dependency Injection** system, let's upgrade the previous example. ## A `dict` from the previous example { #a-dict-from-the-previous-example } In the previous example, we were returning a `dict` from our dependency ("dependable"): {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:32:12 GMT 2026 - 6.8K bytes - Click Count (0) -
docs/ko/docs/tutorial/background-tasks.md
`.add_task()`는 다음 인자를 받습니다: * 백그라운드에서 실행될 작업 함수(`write_notification`). * 작업 함수에 순서대로 전달되어야 하는 인자 시퀀스(`email`). * 작업 함수에 전달되어야 하는 키워드 인자(`message="some notification"`). ## 의존성 주입 { #dependency-injection } `BackgroundTasks`는 의존성 주입 시스템에서도 동작하며, *경로 처리 함수*, 의존성(dependable), 하위 의존성 등 여러 수준에서 `BackgroundTasks` 타입의 매개변수를 선언할 수 있습니다.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 5.2K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/background-tasks.md
`.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) -
docs/en/docs/_llm-test.md
* the Tutorial - User guide * the Advanced User Guide * the SQLModel docs * the API docs * the automatic docs * Data Science * Deep Learning * Machine Learning * Dependency Injection * HTTP Basic authentication * HTTP Digest * ISO format * the JSON Schema standard * the JSON schema * the schema definition * Password Flow * Mobile * deprecated * designed * invalid
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
} } @Test public void test_searchEngineClient_injection() { // Test SearchEngineClient field injection ThumbnailGenerator generator = new ThumbnailGenerator(); assertNull(generator.searchEngineClient); // After proper initialization, it should be injectedCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
when(treeHandle.send(any(), any(), (RequestParam[]) any())).thenAnswer(invocation -> { return invocation.getArgument(1); }); // When: Create iterator with rejecting filter NetServerEnumIterator iterator = new NetServerEnumIterator(parent, treeHandle, "*", 0, nameFilter); // Then: Iterator should have no elements assertFalse(iterator.hasNext());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (0)