Thanks to visit codestin.com
Credit goes to github.com

Skip to content

📝 Add docs recommending Union over Optional and migrate source examples#4908

Merged
tiangolo merged 8 commits into
masterfrom
recomment-union-over-optional
May 14, 2022
Merged

📝 Add docs recommending Union over Optional and migrate source examples#4908
tiangolo merged 8 commits into
masterfrom
recomment-union-over-optional

Conversation

@tiangolo

Copy link
Copy Markdown
Member

📝 Add docs recommending Union over Optional and migrate source examples

@codecov

codecov Bot commented May 14, 2022

Copy link
Copy Markdown

Codecov Report

Merging #4908 (fc0c53d) into master (c5be1b0) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master     #4908   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          531       531           
  Lines        13634     13634           
=========================================
  Hits         13634     13634           
Impacted Files Coverage Δ
docs_src/additional_responses/tutorial002.py 100.00% <100.00%> (ø)
docs_src/additional_responses/tutorial004.py 100.00% <100.00%> (ø)
docs_src/background_tasks/tutorial002.py 100.00% <100.00%> (ø)
docs_src/body/tutorial001.py 100.00% <100.00%> (ø)
docs_src/body_updates/tutorial001.py 100.00% <100.00%> (ø)
docs_src/body_updates/tutorial001_py39.py 100.00% <100.00%> (ø)
docs_src/dataclasses/tutorial001.py 100.00% <100.00%> (ø)
docs_src/dataclasses/tutorial002.py 100.00% <100.00%> (ø)
docs_src/dataclasses/tutorial003.py 100.00% <100.00%> (ø)
docs_src/dependencies/tutorial001.py 100.00% <100.00%> (ø)
... and 23 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c5be1b0...fc0c53d. Read the comment docs.

@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

📝 Docs preview for commit fc0c53d at: https://627f997f8e33d562842f92ac--fastapi.netlify.app

@tiangolo tiangolo merged commit ca437cd into master May 14, 2022
@tiangolo tiangolo deleted the recomment-union-over-optional branch May 14, 2022 12:00
JeanArhancet pushed a commit to JeanArhancet/fastapi that referenced this pull request Aug 20, 2022
…amples (fastapi#4908)

* 📝 Add docs recommending Union over Optional

* 📝 Update docs recommending Union over Optional

* 📝 Update source examples for docs, recommend Union over Optional

* 📝 Update highlighted lines with updated source examples

* 📝 Update highlighted lines in Markdown with recent code changes

* 📝 Update docs, use Union instead of Optional

* ♻️ Update source examples to recommend Union over Optional

* 🎨 Update highlighted code in Markdown after moving from Optional to Union
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant