- Sort Score
- Num 10 results
- Language All
Results 2481 - 2490 of 2,916 for Sath (0.03 seconds)
-
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) -
docs/ru/docs/tutorial/testing.md
Затем Вы просто применяете найденные ответы в тестах. Например: * Передаёте *path*-параметры или *query*-параметры, вписав их непосредственно в строку URL. * Передаёте JSON в теле запроса, передав Python-объект (например: `dict`) через именованный параметр `json`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 9.5K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteStreams.java
import static com.google.common.base.Preconditions.checkPositionIndexes; import static java.lang.Math.max; import static java.lang.Math.min; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.math.IntMath; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.ByteArrayInputStream;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 31.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
import com.google.common.math.LongMath; import com.google.common.primitives.Ints; import com.google.common.testing.EqualsTester; import com.google.common.testing.NullPointerTester; import com.google.common.testing.SerializableTester; import com.google.common.util.concurrent.Uninterruptibles; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.math.RoundingMode; import java.util.ArrayList;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 23K bytes - Click Count (0) -
docs/features/events.md
```java class MetricsEventListener extends EventListener { private static final Factory FACTORY = new Factory() { @Override public EventListener create(Call call) { if (Math.random() < 0.10) { return new MetricsEventListener(call); } else { return EventListener.NONE; } } }; ... } ``` ### Events with FailuresCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 7.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java
* future, so we will suppress any such future Error Prone reports. */ assertWithMessage( "Can't test the main listenInPoolThread path " + "if the input is already a ListenableFuture") .that(input) .isNotInstanceOf(ListenableFuture.class); ListenableFuture<String> listenable = listenInPoolThread(input); /*Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Resources.java
* {@linkplain Thread#getContextClassLoader() context class loader}. In simple environments, the * context class loader will find resources from the class path. In environments where different * threads can have different class loaders, for example app servers, the context class loader * will typically have been set to an appropriate loader for the current thread. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 7.4K bytes - Click Count (0) -
docs/fr/docs/advanced/stream-data.md
FastAPI transmettra chaque bloc de données à la `StreamingResponse` tel quel ; il n'essaiera pas de le convertir en JSON ni autre chose similaire. ### Fonctions de chemin d'accès non async { #non-async-path-operation-functions } Vous pouvez également utiliser des fonctions `def` classiques (sans `async`), et utiliser `yield` de la même manière. {* ../../docs_src/stream_data/tutorial001_py310.py ln[26:29] hl[27] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:33:45 GMT 2026 - 6.2K bytes - Click Count (0)