Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use pydantic model for Query parameters #2151

Open
CasperWA opened this issue Sep 18, 2024 · 0 comments
Open

Use pydantic model for Query parameters #2151

CasperWA opened this issue Sep 18, 2024 · 0 comments
Labels
dependency_updates Issues pertaining to updates to our dependencies that are breaking the eager build enhancement New feature or request models For issues related to the pydantic models directly priority/low Issue or PR with a consensus of low priority server Issues pertaining to the example server implementation

Comments

@CasperWA
Copy link
Member

It seems the latest (v0.115.0) version of FastAPI now (finally) supports using pydantic models for the query parameters (and more). This should be used in the repository to properly define the query parameters.

See the release notes for more information.

@CasperWA CasperWA added enhancement New feature or request dependency_updates Issues pertaining to updates to our dependencies that are breaking the eager build priority/low Issue or PR with a consensus of low priority server Issues pertaining to the example server implementation models For issues related to the pydantic models directly labels Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency_updates Issues pertaining to updates to our dependencies that are breaking the eager build enhancement New feature or request models For issues related to the pydantic models directly priority/low Issue or PR with a consensus of low priority server Issues pertaining to the example server implementation
Projects
None yet
Development

No branches or pull requests

1 participant