- Sort Score
- Num 10 results
- Language All
Results 2031 - 2040 of 2,914 for math (0.03 seconds)
-
docs/ja/docs/tutorial/stream-json-lines.md
戻り値の型を宣言すると、FastAPI はそれを使ってデータを**検証**し、OpenAPI に**ドキュメント化**し、**フィルター**し、Pydantic で**シリアライズ**します。 /// tip | 豆知識 Pydantic は **Rust** 側でシリアライズを行うため、戻り値の型を宣言しない場合に比べて大幅に高い**パフォーマンス**が得られます。 /// ### 非 async の *path operation 関数* { #non-async-path-operation-functions } `async` を使わない通常の `def` 関数でも同様に `yield` を使えます。 FastAPI が適切に実行されるように処理するため、イベントループをブロックしません。 この場合は関数が async ではないので、適切な戻り値の型は `Iterable[Item]` です:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:55:22 GMT 2026 - 5.1K bytes - Click Count (0) -
cmd/data-scanner-metric.go
func (p *scannerMetrics) currentPathUpdater(disk, initial string) (update func(path string), done func()) { initialPtr := unsafe.Pointer(&initial) tracker := ¤tPathTracker{ name: &initialPtr, } p.currentPaths.Store(disk, tracker) return func(path string) { atomic.StorePointer(tracker.name, unsafe.Pointer(&path)) }, func() { p.currentPaths.Delete(disk) } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Oct 01 06:06:01 GMT 2025 - 9.4K bytes - Click Count (0) -
docs/de/docs/tutorial/schema-extra-example.md
{* ../../docs_src/schema_extra_example/tutorial002_py310.py hl[2,8:11] *} ## `examples` im JSON-Schema – OpenAPI { #examples-in-json-schema-openapi } Bei Verwendung von: * `Path()` * `Query()` * `Header()` * `Cookie()` * `Body()` * `Form()` * `File()`Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 10.4K bytes - Click Count (0) -
cmd/erasure-encode_test.go
} func (a badDisk) AppendFile(ctx context.Context, volume string, path string, buf []byte) error { return errFaultyDisk } func (a badDisk) ReadFileStream(ctx context.Context, volume, path string, offset, length int64) (io.ReadCloser, error) { return nil, errFaultyDisk } func (a badDisk) CreateFile(ctx context.Context, origvolume, volume, path string, size int64, reader io.Reader) error { return errFaultyDisk }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 11.8K bytes - Click Count (0) -
scripts/playwright/sql_databases/image02.py
page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_label("post /heroes/").click() # Manually add the screenshot page.screenshot(path="docs/en/docs/img/tutorial/sql-databases/image02.png") # --------------------- context.close() browser.close() process = subprocess.Popen(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Oct 09 19:44:42 GMT 2024 - 1.1K bytes - Click Count (0) -
docs/ja/docs/async.md
/// ### Path operation 関数 { #path-operation-functions } *path operation 関数* を `async def` ではなく通常の `def` で宣言した場合、(サーバをブロックしてしまうため) 直接呼び出されるのではなく、外部のスレッドプールで実行され、それを待機します。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 27.9K bytes - Click Count (0) -
.teamcity/src/main/kotlin/util/UpdateWrapper.kt
successfulOnly = true } } } } steps { exec { name = "UPDATE_WRAPPER_AND_CREATE_PR" path = ".teamcity/scripts/update_wrapper_and_create_pr.sh" arguments = "%wrapperVersion%" } } dependencies {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jul 24 03:08:48 GMT 2025 - 2.7K bytes - Click Count (0) -
tests/test_dependency_after_yield_raise.py
def test_catching(): response = client.get("/catching") assert response.status_code == 418 assert response.json() == {"detail": "Session error"} def test_broken_raise(): with pytest.raises(ValueError, match="Broken after yield"): client.get("/broken") def test_broken_no_raise(): """ When a dependency with yield raises after the yield (not in an except), the
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.7K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/elasticsearch.build-complete.gradle
exclude("**/build/testclusters/**/extract/**") } .files .findAll { Files.isRegularFile(it.toPath()) } if (fileSet.empty) { // In cases where we don't match any workspace files, exclude everything ant.exclude(name: "**/*") } else { fileSet.each { ant.include(name: projectDir.toPath().relativize(it.toPath())) }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 2K bytes - Click Count (0) -
docs/en/docs/how-to/custom-request-and-route.md
Doing this, our `GzipRequest` will take care of decompressing the data (if necessary) before passing it to our *path operations*. After that, all of the processing logic is the same. But because of our changes in `GzipRequest.body`, the request body will be automatically decompressed when it is loaded by **FastAPI** when needed.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4.4K bytes - Click Count (0)