- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,410 for Updates (0.19 sec)
-
docs/zh/docs/tutorial/body-updates.md
然后再用它生成一个只含已设置(在请求中所发送)数据,且省略了默认值的 `dict`: ```Python hl_lines="34" {!../../../docs_src/body_updates/tutorial002.py!} ``` ### 使用 Pydantic 的 `update` 参数 接下来,用 `.copy()` 为已有模型创建调用 `update` 参数的副本,该参数为包含更新数据的 `dict`。 例如,`stored_item_model.copy(update=update_data)`: ```Python hl_lines="35" {!../../../docs_src/body_updates/tutorial002.py!} ``` ### 更新部分数据小结 简而言之,更新部分数据应:
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 3.6K bytes - Viewed (0) -
docs/ru/docs/tutorial/body-updates.md
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Jan 23 13:55:32 GMT 2024 - 8.2K bytes - Viewed (0) -
docs/de/docs/tutorial/body-updates.md
Wie in `stored_item_model.model_copy(update=update_data)`: === "Python 3.10+" ```Python hl_lines="33" {!> ../../../docs_src/body_updates/tutorial002_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="35" {!> ../../../docs_src/body_updates/tutorial002_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="35" {!> ../../../docs_src/body_updates/tutorial002.py!} ```
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 30 20:26:37 GMT 2024 - 6.5K bytes - Viewed (0) -
docs/en/docs/tutorial/body-updates.md
{!> ../../../docs_src/body_updates/tutorial002_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="35" {!> ../../../docs_src/body_updates/tutorial002_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="35" {!> ../../../docs_src/body_updates/tutorial002.py!} ``` ### Partial updates recap In summary, to apply partial updates you would:
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 5.6K bytes - Viewed (0) -
docs/em/docs/tutorial/body-updates.md
```Python hl_lines="34" {!> ../../../docs_src/body_updates/tutorial002.py!} ``` === "🐍 3️⃣.9️⃣ & 🔛" ```Python hl_lines="34" {!> ../../../docs_src/body_updates/tutorial002_py39.py!} ``` === "🐍 3️⃣.1️⃣0️⃣ & 🔛" ```Python hl_lines="32" {!> ../../../docs_src/body_updates/tutorial002_py310.py!} ``` ### ⚙️ Pydantic `update` 🔢
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 4.6K bytes - Viewed (0) -
docs/ja/docs/tutorial/body-updates.md
```Python hl_lines="34" {!../../../docs_src/body_updates/tutorial002.py!} ``` ### Pydanticの`update`パラメータ ここで、`.copy()`を用いて既存のモデルのコピーを作成し、`update`パラメータに更新するデータを含む`dict`を渡すことができます。 `stored_item_model.copy(update=update_data)`のように: ```Python hl_lines="35" {!../../../docs_src/body_updates/tutorial002.py!} ``` ### 部分的更新のまとめ まとめると、部分的な更新を適用するには、次のようにします:
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 5.2K bytes - Viewed (0) -
tests/update_test.go
users := []*User{ GetUser("updates_01", Config{}), GetUser("updates_02", Config{}), } DB.Create(&users) lastUpdatedAt := users[0].UpdatedAt // update with map if res := DB.Model(users[0]).Updates(map[string]interface{}{"name": "updates_01_newname", "age": 100}); res.Error != nil || res.RowsAffected != 1 { t.Errorf("Failed to update users") } if users[0].Name != "updates_01_newname" || users[0].Age != 100 {
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Mon Dec 04 03:50:58 GMT 2023 - 30.3K bytes - Viewed (0) -
.github/dependabot.yml
# Configures Depdendabot to PR go security updates only version: 2 updates: # Go configuration for master branch - package-ecosystem: "gomod" directory: "/" schedule: interval: "daily" # Limit number of open PRs to 0 so that we only get security updates # See https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates
Others - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Apr 16 13:25:37 GMT 2024 - 439 bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractByteHasher.java
/** Updates this hasher with the given byte. */ protected abstract void update(byte b); /** Updates this hasher with the given bytes. */ protected void update(byte[] b) { update(b, 0, b.length); } /** Updates this hasher with {@code len} bytes starting at {@code off} in the given buffer. */ protected void update(byte[] b, int off, int len) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jun 15 20:59:00 GMT 2022 - 3.5K bytes - Viewed (0) -
lib/time/update.bash
../mkzip ../../zoneinfo.zip cd ../.. files="update.bash zoneinfo.zip" modified=true if git diff --quiet $files; then modified=false fi if [ "$1" = "-work" ]; then echo Left workspace behind in work/. shift else rm -rf work fi if ! $modified; then echo No updates needed. exit 0 fi echo Updated for $CODE/$DATA: $files commitmsg="lib/time: update to $CODE/$DATA
Shell Script - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Feb 02 18:20:41 GMT 2024 - 1.8K bytes - Viewed (0)