openml-python icon indicating copy to clipboard operation
openml-python copied to clipboard

[ENH] make `OpenMLSetup` inherit `OpenMLBase`

Open geetu040 opened this issue 9 months ago • 2 comments

OpenMLSetup should inherit and use methods from OpenMLBase, like every other resource, since it's an independent resource with dedicated schema in backend. Also this will enable tagging which is currently not supported.

Steps:

  1. Inherit OpenMLBase in OpenMLSetup
  2. implement the abstract methods like id, _get_repr_body_fields, ...
  3. OpenMLSetup doesn't support publish, so handle that method accordingly
  4. Add a test file tests/test_setups/test_setup.py and write unitests for OpenMLSetup there
  5. Update docstrings.

CC: @PGijsbers for approval

geetu040 avatar Feb 18 '26 08:02 geetu040

hey can i work on this issue ?

Premkumar-2004 avatar Feb 19 '26 14:02 Premkumar-2004

hey can i work on this issue ?

This has already been taken. I can see a PR (actually 2 PRs).

You can may be take a look at other issues, or review these PRs with your suggestions. In-case you are looking for good-first-issues, you can look find them here: Good First Issues Here are some more umbrella issues: https://github.com/openml/openml-python/issues/1649, https://github.com/openml/openml-python/issues/1633

geetu040 avatar Feb 19 '26 15:02 geetu040