Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

🌐 Add Chinese translation for Tutorial - Body - Updates#3237

Merged
tiangolo merged 11 commits intofastapi:masterfrom
jaystone776:fastapi-jaystone776
Jul 2, 2021
Merged

🌐 Add Chinese translation for Tutorial - Body - Updates#3237
tiangolo merged 11 commits intofastapi:masterfrom
jaystone776:fastapi-jaystone776

Conversation

@jaystone776
Copy link
Contributor

as title

tiangolo reacted with rocket emoji

### 使用 Pydantic 的 `update` 参数

接下来,用 `.copy()` 为已有模型创建调用 `update` 参数的副本,该参数为包含更新数据的`dict`。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
接下来,用`.copy()`为已有模型创建调用`update`参数的副本,该参数为包含更新数据的`dict`
现在,你可以使用`.copy()`为已有的模型创建一个副本,并且传入`update`参数,参数值为包含将要更新数据的`dict`

@tiangolotiangolo changed the titleAdd Chinese translation for Tutorial - Body - Updates🌐 Add Chinese translation for Tutorial - Body - UpdatesMay 17, 2021
@tiangolotiangolo added awaiting-review lang-allTranslations lang-zhChinese translations labelsMay 17, 2021
@codecov
Copy link

codecovbot commentedMay 17, 2021
edited
Loading

Codecov Report

Merging#3237 (c6a6e6b) intomaster (00a8420) willnot change coverage.
The diff coverage isn/a.

Impacted file tree graph

@@            Coverage Diff             @@##            master     #3237    +/-   ##==========================================  Coverage   100.00%   100.00%            ==========================================  Files          226       248    +22       Lines         6783      7712   +929     ==========================================+ Hits          6783      7712   +929
Impacted FilesCoverage Δ
tests/main.py100.00% <0.00%> (ø)
fastapi/utils.py100.00% <0.00%> (ø)
fastapi/params.py100.00% <0.00%> (ø)
fastapi/routing.py100.00% <0.00%> (ø)
fastapi/encoders.py100.00% <0.00%> (ø)
fastapi/requests.py100.00% <0.00%> (ø)
fastapi/responses.py100.00% <0.00%> (ø)
fastapi/exceptions.py100.00% <0.00%> (ø)
fastapi/concurrency.py100.00% <0.00%> (ø)
fastapi/applications.py100.00% <0.00%> (ø)
... and69 more

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last updateeb6f964...c6a6e6b. Read thecomment docs.

@github-actions
Copy link
Contributor

📝 Docs preview for commit74d2cd7 at:https://60a23a641e75cb92023071a0--fastapi.netlify.app

* 更新了 body-updates 中的几处文字描述,添加了 dict 与中文之间的空格
把 MDN 的网址改为中文
jaystone776and others added4 commitsMay 18, 2021 13:49
Co-authored-by: Xie Wei <ampedee@gmail.com>
Co-authored-by: Xie Wei <ampedee@gmail.com>
Co-authored-by: Xie Wei <ampedee@gmail.com>
Copy link

@voidfvoidf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

nice

@github-actions
Copy link
Contributor

📝 Docs preview for commitc6a6e6b at:https://60df2103d44d37fbbaf57ac9--fastapi.netlify.app

@tiangolo
Copy link
Member

Great, thank you@jaystone776 ! 🎉 🍰

And thanks a lot for the reviews@voidf,@waynerv, and@Laineyzhang55 🚀 🙇

@tiangolotiangolo merged commite683678 intofastapi:masterJul 2, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

3 more reviewers

@voidfvoidfvoidf approved these changes

@waynervwaynervwaynerv approved these changes

@Laineyzhang55Laineyzhang55Laineyzhang55 approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

approved-2lang-allTranslationslang-zhChinese translations

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@jaystone776@tiangolo@voidf@waynerv@Laineyzhang55

[8]ページ先頭

©2009-2026 Movatter.jp