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

typing: pre pydantic v2 #2000

Merged
merged 4 commits into from
Nov 20, 2024
Merged

typing: pre pydantic v2 #2000

merged 4 commits into from
Nov 20, 2024

Conversation

Axolotle
Copy link
Member

Update some config panel + form typing for upcoming migration to pydantic v2

  • use | instead of Union
  • use ClassVar for class private attributes
  • repeat default values for Options attribute (required in pydantic-v2)

@alexAubin alexAubin merged commit 463a8ca into dev Nov 20, 2024
2 of 3 checks passed
@kay0u kay0u deleted the pydantic-typing branch November 21, 2024 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants