- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for 69 (0.63 sec)
-
docs/ja/docs/tutorial/background-tasks.md
これは `async def` または通常の `def` 関数であり、**FastAPI** はこれを正しく処理します。 ここで、タスク関数はファイル書き込みを実行します (メール送信のシミュレーション)。 また、書き込み操作では `async` と `await` を使用しないため、通常の `def` で関数を定義します。 {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *} ## バックグラウンドタスクの追加 *path operations 関数* 内で、`.add_task()` メソッドを使用してタスク関数を *background tasks* オブジェクトに渡します。 {* ../../docs_src/background_tasks/tutorial001.py hl[14] *} `.add_task()` は以下の引数を受け取ります:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
byte[] dst = new byte[2 + 2 + 2 + 4 + 2 + updatedName.length() + 1]; int n = next.writeParametersWireFormat(dst, 0); assertEquals(dst.length, n); // resumeKey (LE) at offset 6..9 should be 0x11121314 -> 14 13 12 11 assertEquals((byte) 0x14, dst[6]); assertEquals((byte) 0x13, dst[7]); assertEquals((byte) 0x12, dst[8]); assertEquals((byte) 0x11, dst[9]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
docs/es/docs/tutorial/background-tasks.md
Y como la operación de escritura no usa `async` y `await`, definimos la función con un `def` normal: {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *} ## Agregar la tarea en segundo plano Dentro de tu *path operation function*, pasa tu función de tarea al objeto de *background tasks* con el método `.add_task()`:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 4.9K bytes - Viewed (0) -
docs/ko/docs/tutorial/background-tasks.md
**FastAPI**는 이것이 `async def` 함수이든, 일반 `def` 함수이든 내부적으로 이를 올바르게 처리합니다. 이 경우, 아래 작업은 파일에 쓰는 함수입니다. (이메일 보내기 시물레이션) 그리고 이 작업은 `async`와 `await`를 사용하지 않으므로 일반 `def` 함수로 선언합니다. {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *} ## 백그라운드 작업 추가 _경로 작동 함수_ 내에서 작업 함수를 `.add_task()` 함수 통해 _백그라운드 작업_ 개체에 전달합니다. {* ../../docs_src/background_tasks/tutorial001.py hl[14] *} `.add_task()` 함수는 다음과 같은 인자를 받습니다 :
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.2K bytes - Viewed (0) -
cmd/apierrorcode_string.go
_ = x[ErrObjectRestoreAlreadyInProgress-63] _ = x[ErrNoSuchKey-64] _ = x[ErrNoSuchUpload-65] _ = x[ErrInvalidVersionID-66] _ = x[ErrNoSuchVersion-67] _ = x[ErrNotImplemented-68] _ = x[ErrPreconditionFailed-69] _ = x[ErrRequestTimeTooSkewed-70] _ = x[ErrSignatureDoesNotMatch-71] _ = x[ErrMethodNotAllowed-72] _ = x[ErrInvalidPart-73] _ = x[ErrInvalidPartOrder-74] _ = x[ErrMissingPart-75]
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 16 07:34:24 UTC 2025 - 21.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
"R0.76", // #4, this is what the throttling would be with the old rate "R0.20, R0.10, R0.10, R0.10", // #5 "U4.10", // #6 "R0.00, R0.94, R0.81, R0.69, R0.57, R0.44, R0.32", // #7 "R0.20, R0.10, R0.10, R0.10"); // #7 (cont.), note, this matches #5 } public void testBurstyAndUpdate() { RateLimiter rateLimiter = RateLimiter.create(1.0, stopwatch);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
"R0.76", // #4, this is what the throttling would be with the old rate "R0.20, R0.10, R0.10, R0.10", // #5 "U4.10", // #6 "R0.00, R0.94, R0.81, R0.69, R0.57, R0.44, R0.32", // #7 "R0.20, R0.10, R0.10, R0.10"); // #7 (cont.), note, this matches #5 } public void testBurstyAndUpdate() { RateLimiter rateLimiter = RateLimiter.create(1.0, stopwatch);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java
ImmutableRangeSet<Integer> rangeSet = zis.combine(zat).build(); assertThat(rangeSet.asRanges()) .containsExactly(Range.closedOpen(1, 3), Range.closedOpen(4, 5), Range.closedOpen(6, 9)) .inOrder(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 21.7K bytes - Viewed (0) -
docs/metrics/prometheus/grafana/replication/minio-replication-cluster.json
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Aug 04 01:46:49 UTC 2025 - 71.2K bytes - Viewed (0)