Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.7k
📝 Updatedocs/en/docs/tutorial/body.md with Python 3.10 union type example#11415
📝 Updatedocs/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#11415Conversation
tiangolo commentedApr 7, 2024
📝 Docs preview for commitb0759c4 at:https://bfd4257d.fastapitiangolo.pages.dev |
rangzen commentedApr 7, 2024
svlandeg left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thanks for the PR! I took the liberty of updating it withmaster.
I was reading through this page recently, and I actually noticed this same occurrence. I also thought it was weird to comment only on thePython 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.
📝 Docs preview for commitb811ce5 at:https://a33fe871.fastapitiangolo.pages.dev Modified Pages |
docs/en/docs/tutorial/body.md with Python 3.10 union type example📝 Docs preview for commit60bc2ca at:https://f7b3d6e0.fastapitiangolo.pages.dev Modified Pages |
tiangolo commentedAug 15, 2024
…example (fastapi#11415)Co-authored-by: svlandeg <svlandeg@github.com>Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
…example (fastapi#11415)Co-authored-by: svlandeg <svlandeg@github.com>Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
…example (fastapi#11415)Co-authored-by: svlandeg <svlandeg@github.com>Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Small update for the union note because the default example is from the non-default displayed version.