8000 ♻️ Simplify Pydantic configs in OpenAPI models in `fastapi/openapi/models.py` by JoeTanto2 · Pull Request #10886 · fastapi/fastapi · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@JoeTanto2
Copy link
Contributor

Abstracted conditional class config to parent class to avoid repetitive checks.

@tiangolo tiangolo changed the title Abstracted conditional class config to parent class ♻️ Simplify Pydantic configs in OpenAPI models in fastapi/openapi/models.py Jan 13, 2024
@tiangolo
Copy link
Member

Good idea, thanks! 🚀

@tiangolo tiangolo enabled auto-merge (squash) April 18, 2024 22:44
@tiangolo tiangolo merged commit 74cc33d into fastapi:master Apr 18, 2024
hsuanchi pushed a commit to hsuanchi/fastapi that referenced this pull request May 26, 2024
…dels.py` (fastapi#10886)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0