- Sort Score
- Result 10 results
- Languages All
Results 811 - 820 of 855 for asyncpg (0.14 sec)
-
docs/zh/docs/advanced/custom-response.md
包括许多与云存储,视频处理等交互的库。 ```Python hl_lines="2 10-12 14" {!../../docs_src/custom_response/tutorial008.py!} ``` /// tip | "小贴士" 注意在这里,因为我们使用的是不支持 `async` 和 `await` 的标准 `open()`,我们使用普通的 `def` 声明了路径操作。 /// ### `FileResponse` 异步传输文件作为响应。 与其他响应类型相比,接受不同的参数集进行实例化: * `path` - 要流式传输的文件的文件路径。 * `headers` - 任何自定义响应头,传入字典类型。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.7K bytes - Viewed (0) -
docs/de/docs/alternatives.md
Es war eines der ersten extrem schnellen Python-Frameworks, welches auf `asyncio` basierte. Es wurde so gestaltet, dass es Flask sehr ähnlich ist. /// note | "Technische Details" Es verwendete <a href="https://github.com/MagicStack/uvloop" class="external-link" target="_blank">`uvloop`</a> anstelle der standardmäßigen Python-`asyncio`-Schleife. Das hat es so schnell gemacht.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 26.7K bytes - Viewed (0) -
cmd/erasure.go
cache.replace(b.Name, dataUsageRoot, *e) bucketCh <- b } } xioutil.SafeClose(bucketCh) bucketResults := make(chan dataUsageEntryInfo, len(disks)) // Start async collector/saver. // This goroutine owns the cache. var saverWg sync.WaitGroup saverWg.Add(1) go func() { // Add jitter to the update time so multiple sets don't sync up.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 22:23:33 UTC 2024 - 16.1K bytes - Viewed (0) -
internal/s3select/csv/reader.go
csvDstPool sync.Pool // pool of [][]string used for output close chan struct{} // used for shutting down the splitter before end of stream readerWg sync.WaitGroup // used to keep track of async reader. } // queueItem is an item in the queue. type queueItem struct { input []byte // raw input sent to the worker dst chan [][]string // result of block decode
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 8.9K bytes - Viewed (0) -
docs/ja/docs/advanced/custom-response.md
これにはクラウドストレージとの連携や映像処理など、多くのライブラリが含まれています。 ```Python hl_lines="2 10-12 14" {!../../docs_src/custom_response/tutorial008.py!} ``` /// tip | "豆知識" ここでは `async` や `await` をサポートしていない標準の `open()` を使っているので、通常の `def` でpath operationを宣言していることに注意してください。 /// ### `FileResponse` レスポンスとしてファイルを非同期的にストリームします。 他のレスポンスタイプとは異なる引数のセットを受け取りインスタンス化します。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.6K bytes - Viewed (0) -
docs/em/docs/tutorial/bigger-applications.md
```Python hl_lines="5-10 16 21" title="app/routers/items.py" {!../../docs_src/bigger_applications/app/routers/items.py!} ``` ➡ 🔠 *➡ 🛠️* ✔️ ▶️ ⏮️ `/`, 💖: ```Python hl_lines="1" @router.get("/{item_id}") async def read_item(item_id: str): ... ``` ...🔡 🔜 🚫 🔌 🏁 `/`. , 🔡 👉 💼 `/items`. 👥 💪 🚮 📇 `tags` & ➕ `responses` 👈 🔜 ✔ 🌐 *➡ 🛠️* 🔌 👉 📻.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 15.5K bytes - Viewed (0) -
cni/pkg/nodeagent/server_test.go
}, }, } } type fakeServer struct { mock.Mock testWG *WaitGroup // optional waitgroup, if code under test makes a number of async calls to fakeServer } func (f *fakeServer) AddPodToMesh(ctx context.Context, pod *corev1.Pod, podIPs []netip.Addr, netNs string) error { if f.testWG != nil { defer f.testWG.Done() }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 18.7K bytes - Viewed (0) -
docs/de/docs/advanced/custom-response.md
/// tip | "Tipp" Beachten Sie, dass wir, da wir Standard-`open()` verwenden, welches `async` und `await` nicht unterstützt, hier die Pfadoperation mit normalen `def` deklarieren. /// ### `FileResponse` Streamt eine Datei asynchron als Response.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 13.5K bytes - Viewed (0) -
docs/em/docs/advanced/custom-response.md
, ⚫️ 🚂 🔢 👈 📨 "🏭" 👷 🕳 🙆 🔘. 🔨 ⚫️ 👉 🌌, 👥 💪 🚮 ⚫️ `with` 🍫, & 👈 🌌, 🚚 👈 ⚫️ 📪 ⏮️ 🏁. /// tip 👀 👈 📥 👥 ⚙️ 🐩 `open()` 👈 🚫 🐕🦺 `async` & `await`, 👥 📣 ➡ 🛠️ ⏮️ 😐 `def`. /// ### `FileResponse` 🔁 🎏 📁 📨. ✊ 🎏 ⚒ ❌ 🔗 🌘 🎏 📨 🆎: * `path` - 📁 📁 🎏. * `headers` - 🙆 🛃 🎚 🔌, 📖.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.7K bytes - Viewed (0) -
docs/changelogs/changelog_2x.md
```xml <dependency> <groupId>com.squareup.okio</groupId> <artifactId>okio</artifactId> <version>1.3.0</version> </dependency> ``` * **Fix: improve parallelism of async requests.** OkHttp's Dispatcher had a misconfigured `ExecutorService` that limited the number of worker threads. If you're using `Call.enqueue()` this update should significantly improve request concurrency.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 26.6K bytes - Viewed (0)