- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,147 for Mote (0.15 sec)
-
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) -
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) -
docs/en/docs/help-fastapi.md
## Vote for FastAPI * <a href="https://www.slant.co/options/34241/~fastapi-review" class="external-link" target="_blank">Vote for **FastAPI** in Slant</a>. * <a href="https://alternativeto.net/software/fastapi/" class="external-link" target="_blank">Vote for **FastAPI** in AlternativeTo</a>.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 13.7K bytes - Viewed (0) -
docs/em/docs/advanced/async-sql-databases.md
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) -
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 Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 5.3K bytes - Viewed (0) -
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) -
docs/batch-jobs/README.md
createdAfter: "date" # match objects created after "date" createdBefore: "date" # match objects created before "date" ## NOTE: tags are not supported when "source" is remote. # tags: # - key: "name" # value: "pick*" # match objects with tag 'name', with all values starting with 'pick' ## NOTE: metadata filter not supported when "source" is non MinIO. # metadata: # - key: "content-type"
Plain Text - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Oct 06 06:00:43 GMT 2022 - 4.8K bytes - Viewed (0) -
ci/official/utilities/code_check_changed_files.bats
# Fixes "fatal: detected dubious ownership in repository" for Docker. git config --system --add safe.directory '*' git config --system protocol.file.allow always # 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 Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jan 10 19:39:41 GMT 2024 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multiset.java
* * <p><b>Note:</b> this method does not return the number of <i>distinct elements</i> in the * multiset, which is given by {@code entrySet().size()}. */ @Override int size(); /** * Returns the number of occurrences of an element in this multiset (the <i>count</i> of the * element). Note that for an {@link Object#equals}-based multiset, this gives the same result as
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sat Jun 17 14:40:53 GMT 2023 - 19.7K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheStats.java
} /** * Returns the number of times {@link Cache} lookup methods have returned either a cached or * uncached value. This is defined as {@code hitCount + missCount}. * * <p><b>Note:</b> the values of the metrics are undefined in case of overflow (though it is * guaranteed not to throw an exception). If you require specific handling, we recommend * implementing your own stats collector. */
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Sun Aug 07 02:38:22 GMT 2022 - 12.6K bytes - Viewed (0)