Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 205 for Note (0.2 sec)

  1. docs/en/docs/how-to/async-sql-encode-databases.md

    !!! note
        Notice that as we communicate with the database using `await`, the *path operation function* is declared with `async`.
    
    ### About `{**note.dict(), "id": last_record_id}`
    
    `note` is a Pydantic `Note` object.
    
    `note.dict()` returns a `dict` with its data, something like:
    
    ```Python
    {
        "text": "Some note",
        "completed": False,
    }
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/async-sql-databases.md

    ```
    
    !!! Note "笔记"
    
        注意,本例与数据库通信时使用 `await`,因此要把*路径操作函数*声明为异步函数(`asnyc`)。
    
    ### 关于 `{**note.dict(), "id": last_record_id}`
    
    `note` 是 Pydantic `Note` 对象:
    
    `note.dict()` 返回包含如下数据的**字典**:
    
    ```Python
    {
        "text": "Some note",
        "completed": False,
    }
    ```
    
    但它不包含 `id` 字段。
    
    因此要新建一个包含 `note.dict()` 键值对的**字典**:
    
    ```Python
    {**note.dict()}
    ```
    
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Mar 30 22:44:40 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/response-status-code.md

    <img src="/img/tutorial/response-status-code/image01.png">
    
    !!! note "Hinweis"
        Einige Responsecodes (siehe nächster Abschnitt) kennzeichnen, dass die Response keinen Body hat.
    
        FastAPI versteht das und wird in der OpenAPI-Dokumentation anzeigen, dass es keinen Responsebody gibt.
    
    ## Über HTTP-Statuscodes
    
    !!! note "Hinweis"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:32:57 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  4. common-protos/k8s.io/apimachinery/pkg/api/resource/generated.proto

    // in addition to String() and AsInt64() accessors.
    //
    // The serialization format is:
    //
    // ```
    // <quantity>        ::= <signedNumber><suffix>
    //
    // 	(Note that <suffix> may be empty, from the "" case in <decimalSI>.)
    //
    // <digit>           ::= 0 | 1 | ... | 9
    // <digits>          ::= <digit> | <digit><digits>
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/response-status-code.md

    它可以:
    
    * 在响应中返回状态码
    * 在 OpenAPI 概图(及用户界面)中存档:
    
    <img src="/img/tutorial/response-status-code/image01.png">
    
    !!! note "笔记"
    
        某些响应状态码表示响应没有响应体(参阅下一章)。
    
        FastAPI 可以进行识别,并生成表明无响应体的 OpenAPI 文档。
    
    ## 关于 HTTP 状态码
    
    !!! note "笔记"
    
        如果已经了解 HTTP 状态码,请跳到下一章。
    
    在 HTTP 协议中,发送 3 位数的数字状态码是响应的一部分。
    
    这些状态码都具有便于识别的关联名称,但是重要的还是数字。
    
    简言之:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:40:18 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/request-files.md

    contents = await myfile.read()
    ```
    
    만약 일반적인 `def` *경로 작동 함수*의 내부라면, 다음과 같이 `UploadFile.file` 에 직접 접근할 수 있습니다:
    
    ```Python
    contents = myfile.file.read()
    ```
    
    !!! note  "`async` 기술적 세부사항"
        `async` 메소드들을 사용할 때 **FastAPI**는 스레드풀에서 파일 메소드들을 실행하고 그들을 기다립니다.
    
    !!! note "Starlette 기술적 세부사항"
        **FastAPI**의 `UploadFile` 은 **Starlette**의 `UploadFile` 을 직접적으로 상속받지만, **Pydantic** 및 FastAPI의 다른 부분들과의 호환성을 위해 필요한 부분들이 추가되었습니다.
    
    ## "폼 데이터"란
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  7. manifests/charts/istio-cni/values.yaml

          # This defines the action the controller will take when a pod is detected as broken.
    
          # labelPods will label all pods with <brokenPodLabelKey>=<brokenPodLabelValue>.
          # This is only capable of identifying broken pods; the user is responsible for fixing them (generally, by deleting them).
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.2K bytes
    - Viewed (1)
  8. docs/em/docs/tutorial/dependencies/dependencies-with-yield.md

    participant dep as Dep with yield
    participant operation as Path Operation
    participant tasks as Background tasks
    
        Note over client,tasks: Can raise exception for dependency, handled after response is sent
        Note over client,operation: Can raise HTTPException and can change the response
        client ->> dep: Start request
        Note over dep: Run code up to yield
        opt raise
            dep -->> handler: Raise HTTPException
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  9. docs/site-replication/README.md

    - Changes to Bucket features such as:
      - Bucket Policies
      - Bucket Tags
      - Bucket Object-Lock configurations (including retention and legal hold configuration)
      - Bucket Encryption configuration
    
    > NOTE: Bucket versioning is automatically enabled for all new and existing buckets on all replicated sites.
    
    The following Bucket features will **not be replicated**, is designed to differ between sites:
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 21:30:28 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Execute.java

    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.TYPE)
    @Inherited
    public @interface Execute {
        /**
         * Lifecycle phase to fork. Note that specifying a phase overrides specifying a goal.
         * @return the phase
         */
        @Nonnull
        String phase() default "";
    
        /**
         * Goal to fork. Note that specifying a phase overrides specifying a goal. The specified <code>goal</code> must be
         * another goal of the same plugin.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.2K bytes
    - Viewed (0)
Back to top