Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 202 for custom (0.06 sec)

  1. docs/pt/docs/advanced/custom-response.md

    Mas se você passasse uma `HTMLResponse` em `response_class` também, o **FastAPI** saberia como documentar isso no OpenAPI e na documentação interativa como um HTML com `text/html`:
    
    <img src="/img/tutorial/custom-response/image01.png">
    
    ## Respostas disponíveis
    
    Aqui estão algumas dos tipos de resposta disponíveis.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:47:10 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. docs/ja/docs/advanced/custom-response.md

    しかし、一方では `response_class` に `HTMLResponse` を渡しているため、 **FastAPI** はOpenAPIや対話的ドキュメントでHTMLとして `text/html` でドキュメント化する方法を知っています。
    
    <img src="/img/tutorial/custom-response/image01.png">
    
    ## 利用可能なレスポンス
    
    以下が利用可能なレスポンスの一部です。
    
    `Response` を使って他の何かを返せますし、カスタムのサブクラスも作れることを覚えておいてください。
    
    /// note | "技術詳細"
    
    `from starlette.responses import HTMLResponse` も利用できます。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/custom-response.md

    In this case, you can return the file path directly from your *path operation* function.
    
    ## Custom response class
    
    You can create your own custom response class, inheriting from `Response` and using it.
    
    For example, let's say that you want to use <a href="https://github.com/ijl/orjson" class="external-link" target="_blank">`orjson`</a>, but with some custom settings not used in the included `ORJSONResponse` class.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/custom-response.md

    Aber da Sie die `HTMLResponse` auch in der `response_class` übergeben haben, weiß **FastAPI**, dass sie in OpenAPI und der interaktiven Dokumentation als HTML mit `text/html` zu dokumentieren ist:
    
    <img src="/img/tutorial/custom-response/image01.png">
    
    ## Verfügbare Responses
    
    Hier sind einige der verfügbaren Responses.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. tensorflow/c/eager/custom_device_test.cc

      TFE_DeleteTensorHandle(retval);
    
      // Custom device: inputs in different custom devices fails.
      matmul.reset(MatMulOp(context.get(), hcustom0.get(), hcustom1.get()));
      num_retvals = 1;
      TFE_Execute(matmul.get(), &retval, &num_retvals, status.get());
      ASSERT_NE(TF_OK, TF_GetCode(status.get()));
      ASSERT_TRUE(absl::StrContains(TF_Message(status.get()), custom0));
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 27 23:39:24 UTC 2020
    - 18.4K bytes
    - Viewed (0)
  6. 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",
          )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  7. src/main/resources/fess_indices/fess.json

    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 11 01:26:55 UTC 2022
    - 39.9K bytes
    - Viewed (0)
  8. manifests/addons/dashboards/lib/output.json

                      "properties": [
                         {
                            "id": "custom.fillOpacity",
                            "value": 0
                         },
                         {
                            "id": "custom.lineWidth",
                            "value": 2
                         },
                         {
                            "id": "custom.lineStyle",
                            "value": {
                               "dash": [
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  9. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
  10. manifests/addons/dashboards/istio-mesh-dashboard.gen.json

             "fieldConfig": {
                "defaults": {
                   "color": {
                      "fixedColor": "blue",
                      "mode": "fixed"
                   },
                   "custom": {
                      "fillOpacity": 10,
                      "gradientMode": "hue",
                      "showPoints": "never"
                   },
                   "unit": "reqps"
                }
             },
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top