- Sort Score
- Num 10 results
- Language All
Results 831 - 840 of 883 for dependentes (0.07 seconds)
-
docs/zh/docs/tutorial/security/oauth2-jwt.md
创建一个变量用于设置令牌的过期时间。 定义一个用于令牌端点响应的 Pydantic 模型。 创建一个生成新访问令牌的工具函数。 {* ../../docs_src/security/tutorial004_an_py310.py hl[4,7,13:15,29:31,82:90] *} ## 更新依赖项 { #update-the-dependencies } 更新 `get_current_user` 以接收与之前相同的令牌,但这次使用的是 JWT 令牌。 解码接收到的令牌,进行校验,并返回当前用户。 如果令牌无效,立即返回一个 HTTP 错误。 {* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 10.1K bytes - Click Count (0) -
docs/en/docs/tutorial/sql-databases.md
Using `check_same_thread=False` allows FastAPI to use the same SQLite database in different threads. This is necessary as **one single request** could use **more than one thread** (for example in dependencies). Don't worry, with the way the code is structured, we'll make sure we use **a single SQLModel *session* per request** later, this is actually what the `check_same_thread` is trying to achieve.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 15.3K bytes - Click Count (0) -
docs/ja/docs/advanced/events.md
/// tip | 豆知識 `shutdown` は、アプリケーションを「停止」するときに発生します。 新しいバージョンを開始する必要があるか、単に実行をやめたくなったのかもしれません。🤷 /// ### Lifespan 関数 { #lifespan-function } まず注目すべきは、`yield` を使う非同期関数を定義していることです。これは「yield を使う依存関係(Dependencies)」にとてもよく似ています。 {* ../../docs_src/events/tutorial003_py310.py hl[14:19] *} `yield` の前の前半は、アプリケーションが開始される「前」に実行されます。 `yield` の後半は、アプリケーションの処理が「終了」した「後」に実行されます。 ### 非同期コンテキストマネージャ { #async-context-manager }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 9.9K bytes - Click Count (0) -
docs/ko/docs/tutorial/security/oauth2-jwt.md
응답을 위해 토큰 엔드포인트에서 사용될 Pydantic 모델을 정의합니다. 새 액세스 토큰을 생성하기 위한 유틸리티 함수를 생성합니다. {* ../../docs_src/security/tutorial004_an_py310.py hl[4,7,13:15,29:31,82:90] *} ## 의존성 업데이트 { #update-the-dependencies } `get_current_user`가 이전과 동일한 토큰을 받도록 업데이트하되, 이번에는 JWT 토큰을 사용하도록 합니다. 받은 토큰을 디코딩하고 검증한 뒤 현재 사용자를 반환합니다. 토큰이 유효하지 않다면 즉시 HTTP 오류를 반환합니다.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 13K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/query-params-str-validations.md
/// info | 說明 這需搭配 Pydantic 2 或以上版本。😎 /// /// tip | 提示 如果你需要做任何需要與「外部元件」溝通的驗證(例如資料庫或其他 API),應該改用「FastAPI 依賴」(FastAPI Dependencies),你稍後會學到。 這些自訂驗證器適用於只需使用請求中「同一份資料」即可完成的檢查。 /// ### 理解這段程式碼 { #understand-that-code } 重點就是在 `Annotated` 中使用「`AfterValidator` 搭配函式」。如果你願意,可以略過這一節。🤸 ---Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 14.8K bytes - Click Count (0) -
docs/ja/docs/tutorial/security/simple-oauth2.md
これはあなた自身のコードで実装する必要があり、これらのJSONキーを使っていることを確認してください。 仕様に準拠するために、あなた自身が正しく覚えて実装すべきことは、ほぼこれだけです。 それ以外は **FastAPI** が面倒を見てくれます。 /// ## 依存関係の更新 { #update-the-dependencies } ここで依存関係を更新します。 アクティブなユーザーの場合にのみ `current_user` を取得したいとします。 そこで、`get_current_active_user` を依存関係として利用する追加の依存関係 `get_current_active_user` を作成します。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 12.1K bytes - Click Count (0) -
docs/tr/docs/tutorial/query-params-str-validations.md
/// /// tip | İpucu Veritabanı veya başka bir API gibi herhangi bir **harici bileşen** ile iletişim gerektiren bir doğrulama yapmanız gerekiyorsa, bunun yerine **FastAPI Dependencies** kullanmalısınız; onları ileride öğreneceksiniz. Bu custom validator’lar, request’te sağlanan **yalnızca** **aynı veri** ile kontrol edilebilen şeyler içindir. /// ### O Kodu Anlamak { #understand-that-code }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 17.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt
* weight from the default (16) to a new value. * * @param streamId stream which has a priority change. * @param streamDependency the stream ID this stream is dependent on. * @param weight relative proportion of priority in `[1..256]`. * @param exclusive inserts this stream ID as the sole child of `streamDependency`. */ fun priority( streamId: Int,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 19.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java
IllegalArgumentException.class, () -> networkAsMutableNetwork.addEdge(N1, N1, E11)); assertThat(e).hasMessageThat().contains(ERROR_SELF_LOOP); } /** * This test checks an implementation dependent feature. It tests that the method {@code addEdge} * will silently add the missing nodes to the graph, then add the edge connecting them. We are not
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 19K bytes - Click Count (0) -
.idea/gradle.xml
<option value="$PROJECT_DIR$/build-logic/uber-plugins" /> <option value="$PROJECT_DIR$/packaging/core-platform" /> <option value="$PROJECT_DIR$/packaging/distributions-dependencies" /> <option value="$PROJECT_DIR$/packaging/distributions-full" /> <option value="$PROJECT_DIR$/packaging/internal-build-reports" /> <option value="$PROJECT_DIR$/packaging/public-api" />Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 27 10:18:20 GMT 2026 - 25.5K bytes - Click Count (0)