📝 Update docs/en/docs/tutorial/body.md with Python 3.10 union type example#11415
Merged
tiangolo merged 4 commits intofastapi:masterfrom Aug 15, 2024
Merged
📝 Update docs/en/docs/tutorial/body.md with Python 3.10 union type example#11415tiangolo merged 4 commits intofastapi:masterfrom
docs/en/docs/tutorial/body.md with Python 3.10 union type example#11415tiangolo merged 4 commits intofastapi:masterfrom
Conversation
Member
|
📝 Docs preview for commit b0759c4 at: https://bfd4257d.fastapitiangolo.pages.dev |
Contributor
Author
svlandeg
approved these changes
Aug 9, 2024
Member
svlandeg
left a comment
There was a problem hiding this comment.
Thanks for the PR! I took the liberty of updating it with master.
I was reading through this page recently, and I actually noticed this same occurrence. I also thought it was weird to comment only on the Python 3.8-style of code (probably due to historical reasons...). Anyway, I definitely think this edit is an improvement and will avoid confusion by readers.
Contributor
|
📝 Docs preview for commit b811ce5 at: https://a33fe871.fastapitiangolo.pages.dev Modified Pages |
docs/en/docs/tutorial/body.md with Python 3.10 union type example
Contributor
|
📝 Docs preview for commit 60bc2ca at: https://f7b3d6e0.fastapitiangolo.pages.dev Modified Pages |
Member
black-redoc
pushed a commit
to black-redoc/fastapi
that referenced
this pull request
Aug 16, 2024
…example (fastapi#11415) Co-authored-by: svlandeg <svlandeg@github.com> Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
black-redoc
pushed a commit
to black-redoc/fastapi
that referenced
this pull request
Aug 17, 2024
…example (fastapi#11415) Co-authored-by: svlandeg <svlandeg@github.com> Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
s-rigaud
pushed a commit
to s-rigaud/fastapi
that referenced
this pull request
Jan 23, 2025
…example (fastapi#11415) Co-authored-by: svlandeg <svlandeg@github.com> Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
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.
Small update for the union note because the default example is from the non-default displayed version.