Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 810 for note (0.21 sec)

  1. 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)
  2. 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)
  3. api/go1.16.txt

    pkg syscall (darwin-arm64), const NOTE_LINK = 16
    pkg syscall (darwin-arm64), const NOTE_LINK ideal-int
    pkg syscall (darwin-arm64), const NOTE_LOWAT = 1
    pkg syscall (darwin-arm64), const NOTE_LOWAT ideal-int
    pkg syscall (darwin-arm64), const NOTE_NONE = 128
    pkg syscall (darwin-arm64), const NOTE_NONE ideal-int
    pkg syscall (darwin-arm64), const NOTE_NSECONDS = 4
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  4. 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)
  5. docs/ko/docs/tutorial/query-params-str-validations.md

    ```
    
    기본값 `None`을 `Query(None)`으로 바꿔야 하므로, `Query`의 첫 번째 매개변수는 기본값을 정의하는 것과 같은 목적으로 사용됩니다.
    
    그러므로:
    
    ```Python
    q: Optional[str] = Query(None)
    ```
    
    ...위 코드는 아래와 동일하게 매개변수를 선택적으로 만듭니다:
    
    ```Python
    q: Optional[str] = None
    ```
    
    하지만 명시적으로 쿼리 매개변수를 선언합니다.
    
    !!! info "정보"
        FastAPI는 다음 부분에 관심이 있습니다:
    
        ```Python
        = None
        ```
    
        또는:
    
        ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Feb 11 13:48:31 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  6. docs/tls/README.md

    Copy the existing private key and public certificate to the `certs` directory. The default certs directory is:
    
    * **Linux:** `${HOME}/.minio/certs`
    * **Windows:** `%%USERPROFILE%%\.minio\certs`
    
    **Note:**
    
    * Location of custom certs directory can be specified using `--certs-dir` command line option.
    * Inside the `certs` directory, the private key must by named `private.key` and the public key must be named `public.crt`.
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/events/v1/generated.proto

      // +optional
      optional k8s.io.api.core.v1.ObjectReference related = 9;
    
      // note is a human-readable description of the status of this operation.
      // Maximal length of the note is 1kB, but libraries should be prepared to
      // handle values up to 64kB.
      // +optional
      optional string note = 10;
    
      // type is the type of this event (Normal, Warning), new types could be added in the future.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/query-params-str-validations.md

    ```
    
    Note que substituímos o valor padrão de `None` para `Query(default=None)`, o primeiro parâmetro de `Query` serve para o mesmo propósito: definir o valor padrão do parâmetro.
    
    Então:
    
    ```Python
    q: Union[str, None] = Query(default=None)
    ```
    
    ...Torna o parâmetro opcional, da mesma maneira que:
    
    ```Python
    q: Union[str, None] = None
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/response-status-code.md

    * OpenAPIスキーマ(およびユーザーインターフェース)に以下のように文書化します:
    
    <img src="https://fastapi.tiangolo.com/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: Mon Jan 15 15:42:08 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    participant handler as Exceptionhandler
    participant dep as Abhängigkeit mit yield
    participant operation as Pfadoperation
    participant tasks as Hintergrundtasks
    
        Note over client,operation: Kann Exceptions auslösen, inklusive HTTPException
        client ->> dep: Startet den Request
        Note over dep: Führt den Code bis zum yield aus
        opt Löst Exception aus
            dep -->> handler: Löst Exception aus
            handler -->> client: HTTP-Error-Response
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:10:29 GMT 2024
    - 13.5K bytes
    - Viewed (0)
Back to top