- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 116 for dependable (0.06 seconds)
-
docs/zh-hant/docs/tutorial/background-tasks.md
* 依序傳給任務函式的位置引數(`email`)。 * 要傳給任務函式的關鍵字引數(`message="some notification"`)。 ## 相依性注入 { #dependency-injection } 在相依性注入系統中也可使用 `BackgroundTasks`。你可以在多個層級宣告 `BackgroundTasks` 型別的參數:路徑操作函式、相依項(dependable)、次級相依項等。 **FastAPI** 會在各種情況下正確處理並重用同一個物件,將所有背景任務合併,並在之後於背景執行: {* ../../docs_src/background_tasks/tutorial002_an_py310.py hl[13,15,22,25] *} 在此範例中,訊息會在回應送出之後寫入 `log.txt` 檔案。 如果請求中有查詢參數,會以背景任務寫入日誌。
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/tutorial/background-tasks.md
Using `BackgroundTasks` also works with the dependency injection system, you can declare a parameter of type `BackgroundTasks` at multiple levels: in a *path operation function*, in a dependency (dependable), in a sub-dependency, etc. **FastAPI** knows what to do in each case and how to reuse the same object, so that all the background tasks are merged together and are run in the background afterwards:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4.7K bytes - Click Count (0) -
docs/ja/docs/tutorial/dependencies/classes-as-dependencies.md
# 依存関係としてのクラス { #classes-as-dependencies } **依存性注入** システムを深く掘り下げる前に、先ほどの例をアップグレードしてみましょう。 ## 前の例の`dict` { #a-dict-from-the-previous-example } 前の例では、依存関係("dependable")から`dict`を返していました: {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *} しかし、*path operation関数*のパラメータ`commons`に`dict`が含まれています。 また、エディタは`dict`のキーと値の型を知ることができないため、多くのサポート(補完のような)を提供することができません。 もっとうまくやれるはずです...。 ## 依存関係を作るもの { #what-makes-a-dependency }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) -
docs/ja/docs/tutorial/background-tasks.md
* タスク関数に順番に渡す必要のある引数の列 (`email`)。 * タスク関数に渡す必要のあるキーワード引数 (`message="some notification"`)。 ## 依存性注入 { #dependency-injection } `BackgroundTasks` の使用は依存性注入システムでも機能し、様々な階層 (*path operation function*、依存性 (dependable)、サブ依存性など) で `BackgroundTasks` 型のパラメーターを宣言できます。 **FastAPI** は、それぞれの場合の処理方法と同じオブジェクトの再利用方法を知っているため、すべてのバックグラウンドタスクがマージされ、バックグラウンドで後で実行されます: {* ../../docs_src/background_tasks/tutorial002_an_py310.py hl[13,15,22,25] *}
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) -
fastapi/param_functions.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 68K bytes - Click Count (0) -
docs/en/docs/_llm-test.md
* the class method * the header * the headers * the authorization header * the `Authorization` header * the forwarded header * the dependency injection system * the dependency * the dependable * the dependant * I/O bound * CPU bound * concurrency * parallelism * multiprocessing * the env var * the environment variable * the `PATH` * the `PATH` variable
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
docs/de/docs/tutorial/dependencies/sub-dependencies.md
Diese können so **tief** verschachtelt sein, wie nötig. **FastAPI** kümmert sich darum, sie aufzulösen. ## Erste Abhängigkeit, „Dependable“ { #first-dependency-dependable } Sie könnten eine erste Abhängigkeit („Dependable“) wie folgt erstellen: {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 07:57:30 GMT 2026 - 4.5K bytes - Click Count (0) -
docs/ja/docs/_llm-test.md
* クラス * 基底クラス * 親クラス * サブクラス * 子クラス * 兄弟クラス * クラスメソッド * ヘッダー * ヘッダー(複数) * 認可ヘッダー * `Authorization` ヘッダー * Forwarded ヘッダー * 依存性注入システム * 依存関係 * dependable * dependant * I/O バウンド * CPU バウンド * 同時実行性 * 並列性 * マルチプロセッシング * env var * 環境変数 * `PATH` * `PATH` 環境変数 * 認証 * 認証プロバイダ * 認可 * 認可フォーム * 認可プロバイダ
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 13.5K bytes - Click Count (0) -
docs/fr/docs/tutorial/dependencies/sub-dependencies.md
## Créer une seconde dépendance, « dependable » et « dependant » { #second-dependency-dependable-and-dependant } Vous pouvez ensuite créer une autre fonction de dépendance (un « dependable ») qui, en même temps, déclare sa propre dépendance (elle est donc aussi un « dependant ») : {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[13] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:12:41 GMT 2026 - 4.2K bytes - Click Count (0) -
docs/ko/docs/tutorial/dependencies/sub-dependencies.md
이것을 해결하는 일은 **FastAPI**가 알아서 처리합니다. ## 첫 번째 의존성 "dependable" { #first-dependency-dependable } 다음과 같이 첫 번째 의존성("dependable")을 만들 수 있습니다: {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *} 이 의존성은 선택적 쿼리 파라미터 `q`를 `str`로 선언하고, 그대로 반환합니다. 매우 단순한 예시(그다지 유용하진 않음)이지만, 하위 의존성이 어떻게 동작하는지에 집중하는 데 도움이 됩니다. ## 두 번째 의존성 "dependable"과 "dependant" { #second-dependency-dependable-and-dependant }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:57:01 GMT 2026 - 4.3K bytes - Click Count (0)