- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 207 for custom (0.18 sec)
-
docs/en/docs/advanced/custom-response.md
```Python hl_lines="2 10" {!../../../docs_src/custom_response/tutorial009.py!} ``` You can also use the `response_class` parameter: ```Python hl_lines="2 8 10" {!../../../docs_src/custom_response/tutorial009b.py!} ``` In this case, you can return the file path directly from your *path operation* function. ## Custom response class
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.7K bytes - Viewed (0) -
docs/de/docs/advanced/custom-response.md
Sie können eine `RedirectResponse` direkt zurückgeben: ```Python hl_lines="2 9" {!../../../docs_src/custom_response/tutorial006.py!} ``` --- Oder Sie können sie im Parameter `response_class` verwenden: ```Python hl_lines="2 7 9" {!../../../docs_src/custom_response/tutorial006b.py!} ``` Wenn Sie das tun, können Sie die URL direkt von Ihrer *Pfadoperation*-Funktion zurückgeben.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Jan 23 13:05:12 GMT 2024 - 13.5K bytes - Viewed (0) -
docs/ja/docs/advanced/custom-response.md
```Python hl_lines="2 7" {!../../../docs_src/custom_response/tutorial001.py!} ``` !!! tip "豆知識" `ORJSONResponse` のほうが高速な代替かもしれません。 ### `RedirectResponse` HTTPリダイレクトを返します。デフォルトでは307ステータスコード (Temporary Redirect) となります。 ```Python hl_lines="2 9" {!../../../docs_src/custom_response/tutorial006.py!} ``` ### `StreamingResponse`
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Mon Jul 19 19:14:58 GMT 2021 - 10.7K bytes - Viewed (0) -
tensorflow/c/eager/custom_device_test.cc
ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); const char* custom0 = "/job:localhost/replica:0/task:0/device:CUSTOM:0"; const char* custom1 = "/job:localhost/replica:0/task:0/device:CUSTOM:1"; bool arrived = false; bool executed = false; RegisterLoggingDevice(context.get(), custom0, /*strict_scope_placement=*/false, &arrived, &executed,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 27 23:39:24 GMT 2020 - 18.4K bytes - Viewed (0) -
fastapi/encoders.py
[FastAPI docs for JSON Compatible Encoder](https://fastapi.tiangolo.com/tutorial/encoder/). """ custom_encoder = custom_encoder or {} if custom_encoder: if type(obj) in custom_encoder: return custom_encoder[type(obj)](obj) else: for encoder_type, encoder_instance in custom_encoder.items(): if isinstance(obj, encoder_type): return encoder_instance(obj)
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 21:56:59 GMT 2024 - 10.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt
checkEntry(entry, "custom-bar", "custom-header", 55) entry = writer.dynamicTable[tableLength - 2]!! checkEntry(entry, "custom-baz", "custom-header", 55) } @Test fun readerEviction() { val headerBlock = headerEntries( "custom-foo", "custom-header", "custom-bar", "custom-header", "custom-baz", "custom-header", )
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 38.2K bytes - Viewed (0) -
src/main/resources/fess_indices/fess.json
"czech_analyzer": { "type": "custom", "tokenizer": "standard", "filter": [ "truncate20_filter", "lowercase", "czech_stop", "czech_keywords", "czech_override", "czech_stemmer" ] }, "danish_analyzer": { "type": "custom", "tokenizer": "standard",
Json - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Aug 11 01:26:55 GMT 2022 - 39.9K bytes - Viewed (2) -
android/guava/src/com/google/common/base/Verify.java
if (!expression) { throw new VerifyException(); } } /** * Ensures that {@code expression} is {@code true}, throwing a {@code VerifyException} with a * custom message otherwise. * * @param expression a boolean expression * @param errorMessageTemplate a template for the exception message should the check fail. The
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon May 17 14:07:47 GMT 2021 - 18.5K bytes - Viewed (0) -
guava/src/com/google/common/base/Verify.java
if (!expression) { throw new VerifyException(); } } /** * Ensures that {@code expression} is {@code true}, throwing a {@code VerifyException} with a * custom message otherwise. * * @param expression a boolean expression * @param errorMessageTemplate a template for the exception message should the check fail. The
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon May 17 14:07:47 GMT 2021 - 18.5K bytes - Viewed (0) -
manifests/addons/dashboards/istio-mesh-dashboard.json
Json - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Mar 28 02:28:01 GMT 2024 - 46.4K bytes - Viewed (0)