- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 1,464 for torrent (0.04 seconds)
-
docs/ko/docs/tutorial/security/get-current-user.md
# 현재 사용자 가져오기 { #get-current-user } 이전 장에서 (의존성 주입 시스템을 기반으로 한) 보안 시스템은 *경로 처리 함수*에 `str`로 `token`을 제공했습니다: {* ../../docs_src/security/tutorial001_an_py310.py hl[12] *} 하지만 이는 여전히 그다지 유용하지 않습니다. 현재 사용자를 제공하도록 해봅시다. ## 사용자 모델 생성하기 { #create-a-user-model } 먼저 Pydantic 사용자 모델을 만들어 봅시다. Pydantic을 사용해 본문을 선언하는 것과 같은 방식으로, 다른 곳에서도 어디서든 사용할 수 있습니다: {* ../../docs_src/security/tutorial002_an_py310.py hl[5,12:6] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:57:01 GMT 2026 - 4.9K bytes - Click Count (0) -
docs/es/docs/tutorial/security/get-current-user.md
# Obtener Usuario Actual { #get-current-user } En el capítulo anterior, el sistema de seguridad (que se basa en el sistema de inyección de dependencias) le estaba dando a la *path operation function* un `token` como un `str`: {* ../../docs_src/security/tutorial001_an_py310.py hl[12] *} Pero eso aún no es tan útil. Vamos a hacer que nos dé el usuario actual. ## Crear un modelo de usuario { #create-a-user-model }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:41:41 GMT 2026 - 4.4K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/security/get-current-user.md
# 取得目前使用者 { #get-current-user } 在前一章,基於依賴注入系統的安全機制會把一個 `token`(作為 `str`)提供給*路徑操作函式*: {* ../../docs_src/security/tutorial001_an_py310.py hl[12] *} 但這還不太有用。 讓它改為回傳目前使用者吧。 ## 建立使用者模型 { #create-a-user-model } 先建立一個 Pydantic 的使用者模型。 就像用 Pydantic 宣告請求體一樣,我們也可以在其他地方使用它: {* ../../docs_src/security/tutorial002_an_py310.py hl[5,12:6] *} ## 建立 `get_current_user` 依賴 { #create-a-get-current-user-dependency }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) -
docs/ja/docs/tutorial/security/get-current-user.md
# 現在のユーザーの取得 { #get-current-user } 一つ前の章では、(依存性注入システムに基づいた)セキュリティシステムは、 *path operation 関数* に `str` として `token` を与えていました: {* ../../docs_src/security/tutorial001_an_py310.py hl[12] *} しかし、それはまだそんなに有用ではありません。 現在のユーザーを取得するようにしてみましょう。 ## ユーザーモデルの作成 { #create-a-user-model } まずは、Pydanticのユーザーモデルを作成しましょう。 ボディを宣言するのにPydanticを使用するのと同じやり方で、Pydanticを別のどんなところでも使うことができます: {* ../../docs_src/security/tutorial002_an_py310.py hl[5,12:6] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 15:24:30 GMT 2026 - 5.7K bytes - Click Count (0) -
cmd/config-current.go
Klaus Post <******@****.***> 1756435188 +0200
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 28.5K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacUnicodeStringTest.java
* Note: Current implementation throws NullPointerException for null strings. */ @Test void testCheck_withNullStringAndZeroPointer() { // A zero pointer indicates a null string PacUnicodeString pacString = new PacUnicodeString((short) 0, (short) 0, 0); String testString = null; // Current implementation throws NullPointerException when string is nullCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.7K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
*/ static boolean overflowInParse(long current, int digit, int radix) { if (current >= 0) { if (current < maxValueDivs[radix]) { return false; } if (current > maxValueDivs[radix]) { return true; } // current == maxValueDivs[radix] return digit > maxValueMods[radix]; } // current < 0: high bit is set return true; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 17.8K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java
checkArgument(occurrences > 0, "Invalid occurrences: %s", occurrences); while (true) { int current = count(element); if (current == 0) { return 0; } if (occurrences >= current) { if (countMap.remove(element, current)) { return current; } } else { // We know it's an "E" because it already exists in the map.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 16.6K bytes - Click Count (0) -
cmd/metacache-walk.go
forward = strings.TrimPrefix(opts.ForwardTo, current) // Trim further directories and trailing slash. if idx := strings.IndexByte(forward, '/'); idx > 0 { forward = forward[:idx] } } if s.walkMu != nil { s.walkMu.Lock() } entries, err := s.ListDir(ctx, "", opts.Bucket, current, -1) if s.walkMu != nil { s.walkMu.Unlock()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon May 26 07:06:43 GMT 2025 - 12.6K bytes - Click Count (0) -
src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java
// Although we cannot directly verify the super constructor call with Mockito for a real class, // we can infer its correct behavior if the object is successfully constructed and its own fields are correct. // The super constructor is called with (domainHandle, 0, acct_flags, null, 0)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.2K bytes - Click Count (0)