Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 422 for NOTE (0.13 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. tests/test_tutorial/test_async_sql_databases/test_tutorial001.py

    @needs_pydanticv1
    def test_create_read(app: FastAPI):
        with TestClient(app) as client:
            note = {"text": "Foo bar", "completed": False}
            response = client.post("/notes/", json=note)
            assert response.status_code == 200, response.text
            data = response.json()
            assert data["text"] == note["text"]
            assert data["completed"] == note["completed"]
            assert "id" in data
            response = client.get("/notes/")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Oct 18 12:36:40 GMT 2023
    - 6K bytes
    - Viewed (0)
  4. ci/official/containers/linux_arm64/devel.usertools/code_check_changed_files.bats

    setup_file() {
        cd /tf/tensorflow
        bazel version  # Start the bazel server
        # Without this, git errors if /tf/tensorflow directory owner is different
        git config --global --add safe.directory /tf/tensorflow
        # Note that you could generate a list of all the affected targets with e.g.:
        # bazel query $(paste -sd "+" $BATS_FILE_TMPDIR/changed_files) --keep_going
        # Only shows Added, Changed, Modified, Renamed, and Type-changed files
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  5. ci/official/requirements_updater/requirements.in

    astunparse == 1.6.3
    dill == 0.3.7
    astor == 0.7.1
    typing_extensions == 4.8.0
    gast == 0.4.0
    termcolor == 2.3.0
    wrapt == 1.16.0
    tblib == 2.0.0
    
    # Install tensorboard, and keras
    # Note that here we want the latest version that matches TF major.minor version
    # Note that we must use nightly here as these are used in nightly jobs
    # For release jobs, we will pin these on the release branch
    keras-nightly ~= 3.0.0.dev
    tb-nightly ~= 2.17.0.a
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 07:17:18 GMT 2024
    - 806 bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. okhttp/src/test/java/okhttp3/internal/idn/StringprepTest.kt

        assertThat(stringPrep("\u2029")).isNull()
        assertThat(stringPrep("\ud834\udd7a")).isNull() // Note that this is one code point.
      }
    
      @Test fun prohibitionPrivateUse() {
        assertThat(stringPrep("\uf8ff")).isNull()
        assertThat(stringPrep("\udbff\udffd")).isNull() // Note that this is one code point.
      }
    
      @Test fun prohibitionNonCharacter() {
        assertThat(stringPrep("\ufdd0")).isNull()
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top