-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Use declare_or_get_param API #5336
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 declare_or_get_param API #5336
Conversation
@SteveMacenski |
76f108a
to
25c8a6b
Compare
If you have time, Can you give me a green flag to continue working on this PR if it's up to what you're expecting or/ if there are any things to consider? This should be straight forward right?! :) @SteveMacenski |
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.
Yes! This looks like a good direction to me.
I think this makes sense to break up into a few pull requests. Maybe 1-2 packages per PR so that these are small and bite sized for review. 1 massive PR is going to be near impossible to review. If you start a checklist in the ticket, when you open a PR for a package, you can check that off and link the PR so we can keep track of it. I think we should just have a "final check" box for both of us going over the code semi-manually and checking for any stragglers or other similar get/declare parameter workflows we can use to increase code quality! :-) |
25c8a6b
to
553acd1
Compare
@elsayedelsheikh some hundreds of tests are failing from this change |
Signed-off-by: ElSayed ElSheikh <elsayed.elsheikh97@gmail.com>
Signed-off-by: ElSayed ElSheikh <elsayed.elsheikh97@gmail.com>
2c756b7
to
e5b1b2b
Compare
@SteveMacenski Ready to merge! 😀 |
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.
@elsayedelsheikh did you do this with AI? If so, please check closely that these default values are all the same as before. If you did manually, just do a once over. This is alot to check and error prone on my side
It was manual. I checked again and the values are the same 💯 We are good here! |
Basic Info
Description of contribution in a few bullet points
Related to #5299
Use
declare_or_get_param
API instead ofdeclare_parameter
-get_parameter
Target packages:
Description of documentation updates required from your changes
Nothing
Description of how this change was tested
Future work that may be required in bullet points
Nothing
For Maintainers:
backport-*
.