vikas avnish
650c27c1ce
docs: Add comprehensive examples for required query parameters that can be None
- Add tutorial016: Basic example of required parameter accepting None
- Add tutorial017: Comprehensive examples with validation and error handling
- Include both Python 3.10+ and typing_extensions versions
- Address issue #12419 about 'Required, can be None' parameter pattern
- Provide working code examples with proper null handling
- Add detailed documentation explaining the pattern and use cases
The examples show how to create parameters that:
- Must be provided by the client (required)
- Can explicitly be set to None via 'null' string
- Still enforce validation rules for non-None values
- Handle edge cases and provide clear error messages
9 months ago
github-actions[bot]
972a967d5d
📝 Update release notes
[skip ci]
9 months ago
github-actions[bot]
4170f621a5
📝 Update release notes
[skip ci]
9 months ago
dependabot[bot]
67c8dfaf0f
⬆ Bump ruff from 0.13.2 to 0.14.3 ( #14276 )
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.13.2 to 0.14.3.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.13.2...0.14.3 )
---
updated-dependencies:
- dependency-name: ruff
dependency-version: 0.14.3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months ago
pre-commit-ci[bot]
34db1e2e2c
⬆ [pre-commit.ci] pre-commit autoupdate ( #14289 )
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.2 → v0.14.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.2...v0.14.3 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
9 months ago
github-actions[bot]
b787103226
📝 Update release notes
[skip ci]
9 months ago
Sebastián Ramírez
289b4aa2fa
📝 Upate docs for advanced dependencies with `yield`, noting the changes in 0.121.0, adding `scope` ( #14287 )
9 months ago
Sebastián Ramírez
4efae81a76
🔖 Release version 0.121.0
9 months ago
Sebastián Ramírez
3690140555
📝 Update release notes
9 months ago
github-actions[bot]
ad4d8f24ca
📝 Update release notes
[skip ci]
9 months ago
Sebastián Ramírez
ac438b9934
✨ Add support for dependencies with scopes, support `scope="request"` for dependencies with `yield` that exit before the response is sent ( #14262 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
9 months ago
github-actions[bot]
425a4c5bb1
📝 Update release notes
[skip ci]
9 months ago
github-actions[bot]
3a223b9073
📝 Update release notes
[skip ci]
9 months ago
Sebastián Ramírez
566e0d60b2
👥 Update FastAPI People - Contributors and Translators ( #14273 )
Co-authored-by: github-actions <[email protected] >
9 months ago
github-actions[bot]
940ee0c9c3
📝 Update release notes
[skip ci]
9 months ago
Sebastián Ramírez
f8df43d734
👥 Update FastAPI People - Sponsors ( #14274 )
Co-authored-by: github-actions <[email protected] >
9 months ago
Sebastián Ramírez
dbb7020a4d
👥 Update FastAPI GitHub topic repositories ( #14280 )
Co-authored-by: github-actions <[email protected] >
9 months ago
github-actions[bot]
32da8ca78b
📝 Update release notes
[skip ci]
9 months ago
dependabot[bot]
8c42d0ce16
⬆ Bump mkdocs-macros-plugin from 1.4.0 to 1.4.1 ( #14277 )
Bumps [mkdocs-macros-plugin](https://github.com/fralau/mkdocs_macros_plugin ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/fralau/mkdocs_macros_plugin/releases )
- [Changelog](https://github.com/fralau/mkdocs-macros-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/fralau/mkdocs_macros_plugin/compare/v1.4.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: mkdocs-macros-plugin
dependency-version: 1.4.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months ago
github-actions[bot]
2a25f6d3a3
📝 Update release notes
[skip ci]
9 months ago
dependabot[bot]
8be5867de7
⬆ Bump mkdocstrings[python] from 0.26.1 to 0.30.1 ( #14279 )
Bumps [mkdocstrings[python]](https://github.com/mkdocstrings/mkdocstrings ) from 0.26.1 to 0.30.1.
- [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases )
- [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mkdocstrings/mkdocstrings/compare/0.26.1...0.30.1 )
---
updated-dependencies:
- dependency-name: mkdocstrings[python]
dependency-version: 0.30.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months ago
Sebastián Ramírez
fad35ef43f
🔖 Release version 0.120.4
9 months ago
github-actions[bot]
4d57c13055
📝 Update release notes
[skip ci]
9 months ago
Motov Yurii
496de1816a
🐛 Fix security schemes in OpenAPI when added at the top level app ( #14266 )
Co-authored-by: Sebastián Ramírez <[email protected] >
9 months ago
Sebastián Ramírez
2cf04ee30d
🔖 Release version 0.120.3
9 months ago
github-actions[bot]
ec00f5a90f
📝 Update release notes
[skip ci]
9 months ago
Motov Yurii
8b46d8821b
📝 Update note for untranslated pages ( #14257 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
9 months ago
github-actions[bot]
17fcbbe910
📝 Update release notes
[skip ci]
9 months ago
Sebastián Ramírez
dcfb8b9dda
♻️ Reduce internal cyclic recursion in dependencies, from 2 functions calling each other to 1 calling itself ( #14256 )
9 months ago
github-actions[bot]
1fc586c3a5
📝 Update release notes
[skip ci]
9 months ago
Sebastián Ramírez
bb88a0f94a
♻️ Refactor internals of dependencies, simplify code and remove `get_param_sub_dependant` ( #14255 )
9 months ago
github-actions[bot]
9d1a384f4f
📝 Update release notes
[skip ci]
9 months ago
Sebastián Ramírez
c144f9fbd3
♻️ Refactor internals of dependencies, simplify using dataclasses ( #14254 )
9 months ago
Sebastián Ramírez
22ccca21fc
🔖 Release version 0.120.2
9 months ago
github-actions[bot]
d2a703d5cc
📝 Update release notes
[skip ci]
9 months ago
Sebastián Ramírez
35aa12b9bd
🔧 Add sponsor: SerpApi ( #14248 )
9 months ago
github-actions[bot]
c01b5dd96f
📝 Update release notes
[skip ci]
9 months ago
Sebastián Ramírez
6a657f360d
🐛 Fix separation of schemas with nested models introduced in 0.119.0 ( #14246 )
9 months ago
github-actions[bot]
7132a69046
📝 Update release notes
[skip ci]
9 months ago
github-actions[bot]
db7feb5a3e
📝 Update release notes
[skip ci]
9 months ago
github-actions[bot]
448ea5ec82
📝 Update release notes
[skip ci]
9 months ago
pre-commit-ci[bot]
b618e0f9d4
⬆ [pre-commit.ci] pre-commit autoupdate ( #14237 )
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.1 → v0.14.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.1...v0.14.2 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
9 months ago
dependabot[bot]
ccf50ca477
⬆ Bump actions/download-artifact from 5 to 6 ( #14236 )
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 5 to 6.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months ago
dependabot[bot]
a0ef245067
⬆ Bump actions/upload-artifact from 4 to 5 ( #14235 )
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months ago
Sebastián Ramírez
78c94c3f56
🔖 Release version 0.120.1
9 months ago
github-actions[bot]
4b0301b280
📝 Update release notes
[skip ci]
9 months ago
Motov Yurii
436932aef5
⬆️ Bump Starlette to <`0.50.0` ( #14234 )
9 months ago
github-actions[bot]
3ea6a4a0b1
📝 Update release notes
[skip ci]
9 months ago
Motov Yurii
96dd32718b
🔧 Add `license` and `license-files` to `pyproject.toml`, remove `License` from `classifiers` ( #14230 )
9 months ago
Sebastián Ramírez
cd40c5b40f
🔖 Release version 0.120.0
9 months ago