Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 436 for Annotated (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/fr/docs/tutorial/response-model.md

    Et les outils seront également satisfaits car `RedirectResponse` et `JSONResponse` sont des sous-classes de `Response`, donc l'annotation de type est correcte.
    
    ### Annoter une sous-classe de Response { #annotate-a-response-subclass }
    
    Vous pouvez aussi utiliser une sous-classe de `Response` dans l'annotation de type :
    
    {* ../../docs_src/response_model/tutorial003_03_py310.py hl[8:9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 18.1K bytes
    - Click Count (0)
  2. docs/ja/docs/deployment/docker.md

    def read_item(item_id: int, q: str | None = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### Dockerfile { #dockerfile }
    
    同じプロジェクト・ディレクトリに`Dockerfile`というファイルを作成します:
    
    ```{ .dockerfile .annotate }
    # (1)!
    FROM python:3.14
    
    # (2)!
    WORKDIR /code
    
    # (3)!
    COPY ./requirements.txt /code/requirements.txt
    
    # (4)!
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 36.8K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/response-model.md

    这个简单场景 FastAPI 会自动处理,因为返回类型注解是 `Response`(或其子类)。
    
    工具也会满意,因为 `RedirectResponse` 和 `JSONResponse` 都是 `Response` 的子类,所以类型注解是正确的。
    
    ### 注解 Response 的子类 { #annotate-a-response-subclass }
    
    你也可以在类型注解中使用 `Response` 的子类:
    
    {* ../../docs_src/response_model/tutorial003_03_py310.py hl[8:9] *}
    
    这同样可行,因为 `RedirectResponse` 是 `Response` 的子类,FastAPI 会自动处理这个简单场景。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/tutorial/response-model.md

    這個簡單情境會由 FastAPI 自動處理,因為回傳型別註解是 `Response` 類別(或其子類別)。
    
    而工具也會滿意,因為 `RedirectResponse` 與 `JSONResponse` 都是 `Response` 的子類別,所以型別註解是正確的。
    
    ### 註解為某個 Response 的子類別 { #annotate-a-response-subclass }
    
    你也可以在型別註解中使用 `Response` 的子類別:
    
    {* ../../docs_src/response_model/tutorial003_03_py310.py hl[8:9] *}
    
    這同樣可行,因為 `RedirectResponse` 是 `Response` 的子類別,而 FastAPI 會自動處理這種簡單情況。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  5. doc/godebug.md

    reverts to the pre-Go 1.26 behavior.
    
    ### Go 1.25
    
    Go 1.25 added a new `decoratemappings` setting that controls whether the Go
    runtime annotates OS anonymous memory mappings with context about their
    purpose. These annotations appear in /proc/self/maps and /proc/self/smaps as
    "[anon: Go: ...]". This setting is only used on Linux. For Go 1.25, it defaults
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 15:49:10 GMT 2026
    - 26K bytes
    - Click Count (0)
  6. tensorflow/c/eager/c_api.cc

    #endif  // !IS_MOBILE_PLATFORM
    
    using tensorflow::string;
    
    namespace {
    
    string DeviceName(const tensorflow::Device* d) {
      return (d == nullptr) ? "cpu:0" : d->name();
    }
    
    // Annotate eager runtime construction context to the given `function_def` as
    // an attribute.
    void AnnotateEagerRuntimeConstructionContext(
        tensorflow::FunctionDef& function_def) {
      tensorflow::AttrValue value;
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Nov 07 05:55:21 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       * InternalFutures#tryInternalFastPathGetFailure(InternalFutureFailureAccess)}.
       *
       * @since 27.0
       */
      @Override
      /*
       * We should annotate the superclass, InternalFutureFailureAccess, to say that its copy of this
       * method returns @Nullable, too. However, we're not sure if we want to make any changes to that
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  8. helm-releases/minio-3.1.2.tgz

    e-you-begin), and set `networkPolicy.enabled` to `true`. For Kubernetes v1.5 & v1.6, you must also turn on NetworkPolicy by setting the DefaultDeny namespace annotation. Note: this will enforce policy for _all_ pods in the namespace: ``` kubectl annotate namespace default "net.beta.kubernetes.io/network-policy={\"ingress\":{\"isolation\":\"DefaultDeny\"}}" ``` With NetworkPolicy enabled, traffic will be limited to just port 9000. For more precise policy, set `networkPolicy.allowExternal=true`. This...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Sep 18 04:26:47 GMT 2021
    - 14.4K bytes
    - Click Count (0)
  9. helm-releases/minio-3.1.4.tgz

    e-you-begin), and set `networkPolicy.enabled` to `true`. For Kubernetes v1.5 & v1.6, you must also turn on NetworkPolicy by setting the DefaultDeny namespace annotation. Note: this will enforce policy for _all_ pods in the namespace: ``` kubectl annotate namespace default "net.beta.kubernetes.io/network-policy={\"ingress\":{\"isolation\":\"DefaultDeny\"}}" ``` With NetworkPolicy enabled, traffic will be limited to just port 9000. For more precise policy, set `networkPolicy.allowExternal=true`. This...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Sep 20 05:30:22 GMT 2021
    - 14.4K bytes
    - Click Count (0)
  10. helm-releases/minio-3.1.5.tgz

    e-you-begin), and set `networkPolicy.enabled` to `true`. For Kubernetes v1.5 & v1.6, you must also turn on NetworkPolicy by setting the DefaultDeny namespace annotation. Note: this will enforce policy for _all_ pods in the namespace: ``` kubectl annotate namespace default "net.beta.kubernetes.io/network-policy={\"ingress\":{\"isolation\":\"DefaultDeny\"}}" ``` With NetworkPolicy enabled, traffic will be limited to just port 9000. For more precise policy, set `networkPolicy.allowExternal=true`. This...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Sep 22 16:52:01 GMT 2021
    - 14.4K bytes
    - Click Count (0)
Back to Top