Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 597 for NOTE (0.16 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/em/docs/advanced/async-sql-databases.md

    ### ๐Ÿ”ƒ `{**note.dict(), "id": last_record_id}`
    
    `note` Pydantic `Note` ๐ŸŽš.
    
    `note.dict()` ๐Ÿ“จ `dict` โฎ๏ธ ๐Ÿšฎ ๐Ÿ’ฝ, ๐Ÿ•ณ ๐Ÿ’–:
    
    ```Python
    {
        "text": "Some note",
        "completed": False,
    }
    ```
    
    โœ‹๏ธ โšซ๏ธ ๐Ÿšซ โœ”๏ธ `id` ๐Ÿ‘.
    
    ๐Ÿ‘ฅ โœ ๐Ÿ†• `dict`, ๐Ÿ‘ˆ ๐Ÿ”Œ ๐Ÿ”‘-๐Ÿ’ฒ ๐Ÿ‘ซ โšช๏ธโžก๏ธ `note.dict()` โฎ๏ธ:
    
    ```Python
    {**note.dict()}
    ```
    
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 4K bytes
    - Viewed (0)
  3. .github/PULL_REQUEST_TEMPLATE.md

    <!--
    If no, just write "NONE" in the release-note block below.
    If yes, a release note is required:
    Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required".
    
    For more information on release notes see: https://git.k8s.io/community/contributors/guide/release-notes.md
    -->
    ```release-note
    
    ```
    
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Sun Aug 01 08:59:21 GMT 2021
    - 2.8K 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. 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)
  6. src/cmd/cgo/internal/test/buildid_linux.go

    	defer f.Close()
    
    	c := 0
    sections:
    	for i, s := range f.Sections {
    		if s.Type != elf.SHT_NOTE {
    			continue
    		}
    
    		d, err := s.Data()
    		if err != nil {
    			t.Logf("reading data of note section %d: %v", i, err)
    			continue
    		}
    
    		for len(d) > 0 {
    
    			// ELF standards differ as to the sizes in
    			// note sections.  Both the GNU linker and
    			// gold always generate 32-bit sizes, so that
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  7. 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)
  8. docs/pt/docs/tutorial/body-fields.md

    ## Importe `Field`
    
    Primeiro, vocรช tem que importรก-lo:
    
    ```Python hl_lines="4"
    {!../../../docs_src/body_fields/tutorial001.py!}
    ```
    
    !!! warning "Aviso"
        Note que `Field` รฉ importado diretamente do `pydantic`, nรฃo do `fastapi` como todo o resto (`Query`, `Path`, `Body`, etc).
    
    ## Declare atributos do modelo
    
    Vocรช pode entรฃo utilizar `Field` com atributos do modelo:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 02 15:00:11 GMT 2021
    - 2.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/SerializableTester.java

       * {@code SerializableTester} calls with other, GWT-compatible tests.
       *
       * <p>Note that the specified object may not be known by the compiler to be a {@link
       * java.io.Serializable} instance, and is thus declared an {@code Object}. For example, it might
       * be declared as a {@code List}.
       *
       * <p>Note also that serialization is not in general required to return an object that is
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/response-status-code.md

    โšซ๏ธ ๐Ÿ”œ:
    
    * ๐Ÿ“จ ๐Ÿ‘ˆ ๐Ÿ‘” ๐Ÿ“Ÿ ๐Ÿ“จ.
    * ๐Ÿ“„ โšซ๏ธ โœ… ๐Ÿ—„ ๐Ÿ”— ( &amp; , ๐Ÿ‘ฉโ€๐Ÿ’ป ๐Ÿ”ข):
    
    <img src="/img/tutorial/response-status-code/image01.png">
    
    !!! note
        ๐Ÿ“จ ๐Ÿ“Ÿ (๐Ÿ‘€ โญ ๐Ÿ“„) ๐ŸŽฆ ๐Ÿ‘ˆ ๐Ÿ“จ ๐Ÿ”จ ๐Ÿšซ โœ”๏ธ ๐Ÿ’ช.
    
        FastAPI ๐Ÿ’ญ ๐Ÿ‘‰, &amp; ๐Ÿ”œ ๐Ÿญ ๐Ÿ—„ ๐Ÿฉบ ๐Ÿ‘ˆ ๐Ÿ‡ต๐Ÿ‡ธ ๐Ÿ“ค ๐Ÿ™…โ€โ™‚ ๐Ÿ“จ ๐Ÿ’ช.
    
    ## ๐Ÿ”ƒ ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ” ๐Ÿ‘” ๐Ÿ“Ÿ
    
    !!! note
        ๐Ÿšฅ ๐Ÿ‘† โช ๐Ÿ’ญ โšซ๏ธโ” ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ” ๐Ÿ‘” ๐Ÿ“Ÿ, ๐Ÿšถ โญ ๐Ÿ“„.
    
    ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ”, ๐Ÿ‘† ๐Ÿ“จ ๐Ÿ”ข ๐Ÿ‘” ๐Ÿ“Ÿ 3๏ธโƒฃ 9๏ธโƒฃ ๐Ÿ• ๐Ÿ“จ.
    
    ๐Ÿ‘ซ ๐Ÿ‘” ๐Ÿ“Ÿ โœ”๏ธ ๐Ÿ“› ๐Ÿ”— ๐Ÿค” ๐Ÿ‘ซ, โœ‹๏ธ โš  ๐Ÿ• ๐Ÿ”ข.
    
    ๐Ÿ“:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 3.4K bytes
    - Viewed (0)
Back to top