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

♻️ Move fromOptional[X] toUnion[X, None] for internal utils#5124

Merged
tiangolo merged 1 commit intomasterfrom
optional-to-union
Jul 11, 2022
Merged

♻️ Move fromOptional[X] toUnion[X, None] for internal utils#5124
tiangolo merged 1 commit intomasterfrom
optional-to-union

Conversation

@tiangolo
Copy link
Member

♻️ Move fromOptional[X] toUnion[X, None] for internal utils

@codecov
Copy link

codecovbot commentedJul 11, 2022
edited
Loading

Codecov Report

Merging#5124 (7a486b2) intomaster (8047230) willnot change coverage.
The diff coverage isn/a.

@@            Coverage Diff            @@##            master     #5124   +/-   ##=========================================  Coverage   100.00%   100.00%           =========================================  Files          532       532             Lines        13672     13672           =========================================  Hits         13672     13672

Continue to review full report at Codecov.

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

@tiangolotiangoloenabled auto-merge (squash)July 11, 2022 19:30
@github-actions
Copy link
Contributor

@tiangolotiangolo merged commitb768643 intomasterJul 11, 2022
@tiangolotiangolo deleted the optional-to-union branchJuly 11, 2022 19:30
@josegonzalez
Copy link

I'm curious as to why this change was implemented. It doesn't break anything for me, I'm just wondering if Union should be preferred to Optional in my own code :D

emuccino reacted with thumbs up emoji

@zoliknemet
Copy link

Simple answer: tiangolo prefers Union

m9810223 and hyeongguen-song reacted with laugh emoji

@m9810223
Copy link

JeanArhancet pushed a commit to JeanArhancet/fastapi that referenced this pull requestAug 20, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@tiangolo@josegonzalez@zoliknemet@m9810223

[8]ページ先頭

©2009-2026 Movatter.jp