feat: dataclass implemented in openmlparameter and openmlsetup class#1582
Open
rohansen856 wants to merge 12 commits intoopenml:mainfrom
Open
feat: dataclass implemented in openmlparameter and openmlsetup class#1582rohansen856 wants to merge 12 commits intoopenml:mainfrom
rohansen856 wants to merge 12 commits intoopenml:mainfrom
Conversation
Signed-off-by: rohansen856 <rohansen856@gmail.com>
Signed-off-by: rohansen856 <rohansen856@gmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1582 +/- ##
==========================================
+ Coverage 52.04% 52.82% +0.78%
==========================================
Files 36 36
Lines 4333 4339 +6
==========================================
+ Hits 2255 2292 +37
+ Misses 2078 2047 -31 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
geetu040
suggested changes
Jan 12, 2026
Collaborator
geetu040
left a comment
There was a problem hiding this comment.
Changes in openml/setups/setup.py look good. Please revert the changes in tests/test_setups/test_setup_functions.py; they won't be needed once this branch is synced with main. Merging main into this branch should skip those tests and make the CI pass.
Signed-off-by: rohansen856 <rohansen856@gmail.com>
e15e442 to
82fafe3
Compare
Signed-off-by: rohansen856 <rohansen856@gmail.com>
82fafe3 to
e7c3c91
Compare
Contributor
Author
|
@geetu040 removed the test file changes. Ready for review. |
fkiraly
approved these changes
Jan 14, 2026
Collaborator
|
please mention in pr description |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Metadata
OpenMLParameterto Use Dataclass #1541Details
Edited the OpenMLParameter in
openml/setups/setup.pyto use@dataclassdecorator. This significantly reduces the boilerplate code in the following places:Before:
After:
Before:
After:
Tests
For tests, I have used
xfailtemporarily to bypass the preexisting test failures intests\test_setups\test_setup_functions.py.