🌐 Add Chinese translation for Tutorial - Body - Updates#3237
Merged
Conversation
waynerv
suggested changes
May 17, 2021
|
|
||
| ### 使用 Pydantic 的 `update` 参数 | ||
|
|
||
| 接下来,用 `.copy()` 为已有模型创建调用 `update` 参数的副本,该参数为包含更新数据的`dict`。 |
Contributor
There was a problem hiding this comment.
Suggested change
| 接下来,用 `.copy()` 为已有模型创建调用 `update` 参数的副本,该参数为包含更新数据的`dict`。 | |
| 现在,你可以使用 `.copy()` 为已有的模型创建一个副本,并且传入 `update` 参数,参数值为包含将要更新数据的`dict`。 |
Codecov Report
@@ Coverage Diff @@
## master #3237 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 226 248 +22
Lines 6783 7712 +929
==========================================
+ Hits 6783 7712 +929
Continue to review full report at Codecov.
|
Contributor
|
📝 Docs preview for commit 74d2cd7 at: https://60a23a641e75cb92023071a0--fastapi.netlify.app |
* 更新了 body-updates 中的几处文字描述,添加了 dict 与中文之间的空格
把 MDN 的网址改为中文
6438880 to
0972c8d
Compare
Co-authored-by: Xie Wei <[email protected]>
Co-authored-by: Xie Wei <[email protected]>
Co-authored-by: Xie Wei <[email protected]>
waynerv
approved these changes
May 18, 2021
Laineyzhang55
approved these changes
May 31, 2021
Contributor
|
📝 Docs preview for commit c6a6e6b at: https://60df2103d44d37fbbaf57ac9--fastapi.netlify.app |
Member
|
Great, thank you @jaystone776 ! 🎉 🍰 And thanks a lot for the reviews @voidf, @waynerv, and @Laineyzhang55 🚀 🙇 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
as title