fastapi/docs_src/body_nested_models
Sebastián Ramírez ca437cdfab
📝 Add docs recommending `Union` over `Optional` and migrate source examples (#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
2022-05-14 06:59:59 -05:00
..
tutorial001.py 📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 2022-05-14 06:59:59 -05:00
tutorial001_py310.py Add docs and tests for Python 3.9 and Python 3.10 (#3712) 2022-01-07 15:11:31 +01:00
tutorial002.py 📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 2022-05-14 06:59:59 -05:00
tutorial002_py39.py 📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 2022-05-14 06:59:59 -05:00
tutorial002_py310.py Add docs and tests for Python 3.9 and Python 3.10 (#3712) 2022-01-07 15:11:31 +01:00
tutorial003.py 📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 2022-05-14 06:59:59 -05:00
tutorial003_py39.py 📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 2022-05-14 06:59:59 -05:00
tutorial003_py310.py Add docs and tests for Python 3.9 and Python 3.10 (#3712) 2022-01-07 15:11:31 +01:00
tutorial004.py 📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 2022-05-14 06:59:59 -05:00
tutorial004_py39.py 📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 2022-05-14 06:59:59 -05:00
tutorial004_py310.py ✏ Fix example code with sets in tutorial for body nested models (#3030) 2022-05-11 17:29:02 +00:00
tutorial005.py 📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 2022-05-14 06:59:59 -05:00
tutorial005_py39.py 📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 2022-05-14 06:59:59 -05:00
tutorial005_py310.py Add docs and tests for Python 3.9 and Python 3.10 (#3712) 2022-01-07 15:11:31 +01:00
tutorial006.py 📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 2022-05-14 06:59:59 -05:00
tutorial006_py39.py 📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 2022-05-14 06:59:59 -05:00
tutorial006_py310.py Add docs and tests for Python 3.9 and Python 3.10 (#3712) 2022-01-07 15:11:31 +01:00
tutorial007.py 📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 2022-05-14 06:59:59 -05:00
tutorial007_py39.py 📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 2022-05-14 06:59:59 -05:00
tutorial007_py310.py Add docs and tests for Python 3.9 and Python 3.10 (#3712) 2022-01-07 15:11:31 +01:00
tutorial008.py 📝 Remove *, from functions where it's not needed #1234 (#1239) 2020-06-12 21:41:44 +02:00
tutorial008_py39.py Add docs and tests for Python 3.9 and Python 3.10 (#3712) 2022-01-07 15:11:31 +01:00
tutorial009.py Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
tutorial009_py39.py Add docs and tests for Python 3.9 and Python 3.10 (#3712) 2022-01-07 15:11:31 +01:00