Skip to content

[ENH] make OpenMLSetup inherit OpenMLBase #1647

Closed

Description

@geetu040

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

Activity

  1. Premkumar-2004 commented on Feb 19, 2026

    @Premkumar-2004

    hey can i work on this issue ?

  2. geetu040 commented on Feb 19, 2026

    @geetu040
    CollaboratorAuthor

    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: #1649, #1633

  3. PGijsbers commented on Oct 15, 2026

    @PGijsbers
    Collaborator

    Thanks for taking the time to create the issue, due to being flooded with notifications at the time I unfortunately missed the ping.

    I do not think that a setup should be treated the same as the other "main" objects. As I wrote in #1648 we are likely doing away with this concept (at least as far as the clients are concerned). Moreover, even in the current state they have some differences that would make it inappropriate to inherit from the base class: they cannot be published directly and they do not have their own dedicated webpage (openml_url).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueIssues suitable for people new to contributing to openml-python!enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions