🎨 Upgrade typing syntax for Python 3.10 - #14932
Conversation
📝 Docs previewLast commit e03019e at: https://dd557bfc.fastapitiangolo.pages.dev |
|
@copilot can you add or extend tests to fix coverage here? |
…4933) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: tiangolo <1326112+tiangolo@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
Hi, I was reading the tutorial and noticed that in the "Union or anyof" section the example uses:
However, in the next section it says:
Is it possible that this second section wasn’t updated? Please let me know if this would be better reported elsewhere. |
|
@joselu103, thanks for reporting! |
|
Still seeing the outdated "Union in Python 3.10" text on the live Extra Models page. This PR looks ready (approved + mergeable). Happy to open a fresh replacement PR if that would help. |
🎨 Upgrade typing syntax for Python 3.10