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

📝 Change the word "unwrap" to "unpack" indocs/en/docs/tutorial/extra-models.md#13061

Merged
tiangolo merged 5 commits intofastapi:masterfrom
timothy-jeong:fix-doc/tutorial-extra-models
Jan 30, 2025
Merged

📝 Change the word "unwrap" to "unpack" indocs/en/docs/tutorial/extra-models.md#13061
tiangolo merged 5 commits intofastapi:masterfrom
timothy-jeong:fix-doc/tutorial-extra-models

Conversation

@timothy-jeong
Copy link
Contributor

While 'unwrap' (or 'unwrapping') is a Pydantic-specific convention, its usage in the documentation might lead to confusion. The document mentions 'unwrap' with the prefix 'Python', which could incorrectly imply that 'unwrap' is official Python terminology.

The behavior of 'unwrap' described in the tutorial/extra-models document aligns with the "dictionary unpacking" feature in Python dictionary displays (https://docs.python.org/3/reference/expressions.html#dictionary-displays).

Therefore, if the intended behavior is indeed Python's dictionary unpacking, I suggest replacing 'unwrap' with 'unpack' for clarity and consistency with official Python terminology.

hard-coders and svlandeg reacted with thumbs up emoji
While 'unwrap' (or 'unwrapping') is a Pydantic-specific convention, its usage in the documentation might lead to confusion. The document mentions 'unwrap' with the prefix 'Python', which could incorrectly imply that 'unwrap' is official Python terminology.The behavior of 'unwrap' described in the tutorial/extra-models document aligns with the "dictionary unpacking" feature in Python dictionary displays (https://docs.python.org/3/reference/expressions.html#dictionary-displays).Therefore, if the intended behavior is indeed Python's dictionary unpacking, I suggest replacing 'unwrap' with 'unpack' for clarity and consistency with official Python terminology.
@github-actionsgithub-actionsbot added the docsDocumentation about how to use FastAPI labelDec 12, 2024
@github-actions
Copy link
Contributor

Copy link
Contributor

@hard-codershard-coders left a comment

Choose a reason for hiding this comment

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

Sounds reasonable.

timothy-jeong added a commit to timothy-jeong/fastapi that referenced this pull requestDec 12, 2024
다음과 같이 번역하였습니다.- unwrap -> 언랩(unwrap)fastapi#13061 의 accept 여부에 따라 번역 변경 예정- unwraping -> 언래핑(unwrapping)fastapi#13061 의 accept 여부에 따라 번역 변경 예정- type annotation -> 타입주석(type annotation)- argument value -> 인자 값(argument value)
timothy-jeong added a commit to timothy-jeong/fastapi that referenced this pull requestDec 12, 2024
다음과 같이 번역하였습니다.- unwrap -> 언랩(unwrap)fastapi#13061 의 accept 여부에 따라 번역 변경 예정- unwraping -> 언래핑(unwrapping)fastapi#13061 의 accept 여부에 따라 번역 변경 예정- type annotation -> 타입주석(type annotation)- argument value -> 인자 값(argument value)
@alejsdevalejsdev changed the titleSuggest changing the word 'unwrap' to 'unpack'📝 Suggest changing the word 'unwrap' to 'unpack'Dec 12, 2024
@github-actions
Copy link
Contributor

Copy link
Member

@svlandegsvlandeg left a comment

Choose a reason for hiding this comment

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

Makes sense to me!

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@tiangolotiangolo changed the title📝 Suggest changing the word 'unwrap' to 'unpack'📝 Change the word "unwrap" to "unpack" indocs/en/docs/tutorial/extra-models.mdJan 30, 2025
Copy link
Member

@tiangolotiangolo left a comment

Choose a reason for hiding this comment

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

Makes sense, thanks! ☕

timothy-jeong reacted with heart emoji
@tiangolotiangolo merged commit83ab6ac intofastapi:masterJan 30, 2025
50 checks passed
timothy-jeong added a commit to timothy-jeong/fastapi that referenced this pull requestFeb 20, 2025
다음과 같이 번역하였습니다.- unwrap -> 언랩(unwrap)fastapi#13061 의 accept 여부에 따라 번역 변경 예정- unwraping -> 언래핑(unwrapping)fastapi#13061 의 accept 여부에 따라 번역 변경 예정- type annotation -> 타입주석(type annotation)- argument value -> 인자 값(argument value)
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@tiangolotiangolotiangolo approved these changes

@svlandegsvlandegsvlandeg approved these changes

+1 more reviewer

@hard-codershard-codershard-coders approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

docsDocumentation about how to use FastAPI

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@timothy-jeong@tiangolo@svlandeg@hard-coders

Comments


[8]ページ先頭

©2009-2026 Movatter.jp