You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
brunofoggiatto
9894481f3c
📝 Add file upload validation and saving examples
This PR adds practical examples for validating and saving uploaded files,
addressing common production use cases.
New examples:
- Tutorial 004: Upload with validation (file type, size, count)
- Tutorial 005: Saving files to disk with unique names
Each example includes variants for Python 3.9+ and 3.10+.
Documentation updated with new sections explaining validation
best practices and file saving security considerations.
7 months ago
..
tutorial001.py
✨ Add support for not needing `...` as default value in required Query(), Path(), Header(), etc. (#4906)
4 years ago
tutorial001_02.py
📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908)
4 years ago
tutorial001_02_an.py
📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268)
3 years ago
tutorial001_02_an_py39.py
📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268)
3 years ago
tutorial001_02_an_py310.py
📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268)
3 years ago
tutorial001_02_py310.py
✨ Add support for not needing `...` as default value in required Query(), Path(), Header(), etc. (#4906)
4 years ago
tutorial001_03.py
✨ Add support for not needing `...` as default value in required Query(), Path(), Header(), etc. (#4906)
4 years ago
tutorial001_03_an.py
📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268)
3 years ago
tutorial001_03_an_py39.py
📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268)
3 years ago
tutorial001_an.py
📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268)
3 years ago
tutorial001_an_py39.py
📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268)
3 years ago
tutorial002.py
✨ Add support for not needing `...` as default value in required Query(), Path(), Header(), etc. (#4906)
4 years ago
tutorial002_an.py
📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268)
3 years ago
tutorial002_an_py39.py
📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268)
3 years ago
tutorial002_py39.py
✨ Add support for not needing `...` as default value in required Query(), Path(), Header(), etc. (#4906)
4 years ago
tutorial003.py
✨ Add support for not needing `...` as default value in required Query(), Path(), Header(), etc. (#4906)
4 years ago
tutorial003_an.py
📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268)
3 years ago
tutorial003_an_py39.py
📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268)
3 years ago
tutorial003_py39.py
✨ Add support for not needing `...` as default value in required Query(), Path(), Header(), etc. (#4906)
4 years ago
tutorial004.py
📝 Add file upload validation and saving examples
7 months ago
tutorial004_an_py39.py
📝 Add file upload validation and saving examples
7 months ago
tutorial004_an_py310.py
📝 Add file upload validation and saving examples
7 months ago
tutorial005.py
📝 Add file upload validation and saving examples
7 months ago
tutorial005_an_py39.py
📝 Add file upload validation and saving examples
7 months ago
tutorial005_an_py310.py
📝 Add file upload validation and saving examples
7 months ago