-
Notifications
You must be signed in to change notification settings - Fork 160
Add Pydantic validation for reboot configuration #4356
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
Conversation
LecrisUT
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just needs to be pydantic v1 compatible.
|
The comments on this PR are nice to read. They give a clear understanding of base models. If our tests are failing probably they will fail for other users too. I think we should add a release note for this as well. |
a927ad2 to
24f8aa3
Compare
I think its a valid comment - since the contract is now changed i.e. empty strings which were allowed will NOT be anymore. Anybody with more thoughts / opinions? |
|
/packit build |
Yes, a release note can't hurt. |
506c501 to
181226c
Compare
181226c to
40e5d39
Compare
|
/packit build |
|
Unrelated failures, merging. |
Resolves #4349
Changes made:
RebootDataPydantic model to validate config structureA fewTODOsto be reviewed.