- Sort Score
- Num 10 results
- Language All
Results 2611 - 2620 of 2,914 for math (0.03 seconds)
-
docs/zh-hant/docs/advanced/stream-data.md
{* ../../docs_src/stream_data/tutorial001_py310.py ln[1:23] hl[20,23] *} FastAPI 會如實將每個資料區塊交給 `StreamingResponse`,不會嘗試將其轉換為 JSON 或其他格式。 ### 非 async 路徑操作函式 { #non-async-path-operation-functions } 你也可以使用一般的 `def` 函式(沒有 `async`),並以相同方式使用 `yield`。 {* ../../docs_src/stream_data/tutorial001_py310.py ln[26:29] hl[27] *} ### 不需要型別註解 { #no-annotation } 對於串流二進位資料,其實不需要宣告回傳型別註解。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:33:04 GMT 2026 - 4.9K bytes - Click Count (0) -
docs/zh-hant/docs/fastapi-cli.md
``` 那麼你應該把 `entrypoint` 設為: ```toml [tool.fastapi] entrypoint = "backend.main:app" ``` 這等同於: ```python from backend.main import app ``` ### 帶路徑的 `fastapi dev` { #fastapi-dev-with-path } 你也可以把檔案路徑傳給 `fastapi dev` 指令,它會推測要使用的 FastAPI app 物件: ```console $ fastapi dev main.py ``` 但這樣每次呼叫 `fastapi` 指令時都得記得傳入正確的路徑。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 5.8K bytes - Click Count (0) -
docs/zh/docs/tutorial/metadata.md
不必为你使用的所有标签都添加元数据。 /// ### 使用你的标签 { #use-your-tags } 将 `tags` 参数和*路径操作*(以及 `APIRouter`)一起使用,将其分配给不同的标签: {* ../../docs_src/metadata/tutorial004_py310.py hl[21,26] *} /// info | 信息 阅读更多关于标签的信息[路径操作配置](path-operation-configuration.md#tags)。 /// ### 查看文档 { #check-the-docs } 如果你现在查看文档,它们会显示所有附加的元数据: <img src="/img/tutorial/metadata/image02.png"> ### 标签顺序 { #order-of-tags }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 5.6K bytes - Click Count (0) -
cmd/erasure-heal_test.go
} if err == nil && test.shouldFail { t.Errorf("Test %d: should fail but it passed", i) } if err == nil { // Verify that checksums of staleDisks // match expected values for i := range staleWriters { if staleWriters[i] == nil { continue } if !bytes.Equal(bitrotWriterSum(staleWriters[i]), bitrotWriterSum(writers[i])) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.9K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.7.md
* PodSpecs containing parent directory references such as `..` (for example, `../bar`) in hostPath volume path or in volumeMount subpaths must be changed to the simple absolute path. Backsteps `..` are no longer allowed.([#47290](https://github.com/kubernetes/kubernetes/pull/47290), [@jhorwit2](https://github.com/jhorwit2)). ### API Machinery
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Thu May 05 13:44:43 GMT 2022 - 308.7K bytes - Click Count (1) -
src/main/java/org/codelibs/fess/app/web/admin/failureurl/AdminFailureurlAction.java
saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL)); }); return redirect(getClass()); } /** * Deletes all failure URL records that match the current search criteria. * * @return HTML response redirecting to the failure URL list page */ @Execute @Secured({ ROLE }) public HtmlResponse deleteall() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 9.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/CollectorTester.java
A finalAccum = scheme.result(collector, inputs); if (collector.characteristics().contains(Collector.Characteristics.IDENTITY_FINISH)) { @SuppressWarnings("unchecked") // `R` and `A` match for an `IDENTITY_FINISH` R result = (R) finalAccum; assertEquivalent(expectedResult, result); } assertEquivalent(expectedResult, collector.finisher().apply(finalAccum)); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 22:01:32 GMT 2025 - 6.8K bytes - Click Count (0) -
docs/fr/docs/advanced/websockets.md
## Utiliser `Depends` et autres { #using-depends-and-others } Dans les endpoints WebSocket, vous pouvez importer depuis `fastapi` et utiliser : * `Depends` * `Security` * `Cookie` * `Header` * `Path` * `Query` Ils fonctionnent de la même manière que pour les autres endpoints/*chemins d'accès* FastAPI : {* ../../docs_src/websockets_/tutorial002_an_py310.py hl[68:69,82] *} /// infoCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 5.9K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/stream-json-lines.md
如果你宣告了回傳型別,FastAPI 會用它來進行資料的**驗證**、在 OpenAPI 中**文件化**、**過濾**,並使用 Pydantic 進行**序列化**。 /// tip 由於 Pydantic 會在 **Rust** 端進行序列化,宣告回傳型別可獲得比未宣告時高得多的**效能**。 /// ### 非 async 的*路徑操作函式* { #non-async-path-operation-functions } 你也可以用一般的 `def` 函式(沒有 `async`),同樣用 `yield`。 FastAPI 會確保正確執行,不會阻塞事件迴圈。 因為這種情況下函式不是 async,正確的回傳型別會是 `Iterable[Item]`:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:33:04 GMT 2026 - 4.2K bytes - Click Count (0) -
docs/zh/docs/tutorial/server-sent-events.md
{* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[10:12,23] *} /// tip | 提示 由于 Pydantic 会在**Rust** 端序列化它,相比未声明返回类型,你将获得更高的**性能**。 /// ### 非 async 的*路径操作函数* { #non-async-path-operation-functions } 你也可以使用常规的 `def` 函数(没有 `async`),并以同样的方式使用 `yield`。 FastAPI 会确保其正确运行,从而不阻塞事件循环。 由于此时函数不是 async,正确的返回类型应为 `Iterable[Item]`:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:29:48 GMT 2026 - 4.6K bytes - Click Count (0)