-
Notifications
You must be signed in to change notification settings - Fork 53
Add Type validation for Cluster Configuration Parameters #593
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
Add Type validation for Cluster Configuration Parameters #593
Conversation
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.
Tested this out and works as expected /lgtm
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.
Nice work! I have a few comments
c09a6eb
to
9dc6c56
Compare
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.
This is great, everything works as expected, just a small comment on the TypeError content.
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: KPostOffice The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
9c1e65d
into
project-codeflare:main
Issue link
https://issues.redhat.com/browse/RHOAIENG-9435
What changes have been made
Added Type Validation for Parameters
Verification steps
In Cluster Configuration change any of the parameters to a wrong type. Should get an error similar to this:
'num_workers' should be of type <class 'int'>, got list
Checks