Skip to content

Edit (some) fields of flow after upload? #896

Open

Description

@PGijsbers

I noticed I have some uploaded flows for which I would like to add a custom_name. I'm currently unable to do so through the Python API (or at all). This gives rise to the following questions:

  • Should we support filling in the custom_name field later if left empty initially?
  • Are there other attributes for which this makes sense?
  • Should we support editing custom_name (or other fields) after uploading?
  • Should we look at other entities as well to see what we might want to be editable?

Of course it is important to preserve consistency. Especially if other users start using your flow, you don't want it to suddenly represent something else.

Personally I feel that providing a custom_name after not having one at upload time is fine. I would say editing custom_name is OK too, considering we auto-generate them with the scikit-learn extension for some flows (and if that goes wrong, editing is probably preferred?).

Other fields that seem candidates for editing to me are: tags, language and binary_url (probably not md5/format).

I'm not sure to which extend this is a design issue or just openml-python.

Paging @mfeurer @janvanrijn @joaquinvanschoren

Activity

  1. joaquinvanschoren commented on Jun 22, 2020

    @joaquinvanschoren
    Contributor

    This requires a new REST API endpoint.

    We then need to discuss for which fields we want to allow editing.
    For inspiration, see the data edit pull request by Sahi:
    openml/OpenML#1044

  2. PGijsbers commented on Jul 23, 2020

    @PGijsbers
    CollaboratorAuthor

    PR related to that data edit change for openml-python: #935

  3. mfeurer commented on Jun 15, 2021

    @mfeurer
    Collaborator

    Hey, is this issue resolved? The two PRs above are both merged

  4. PGijsbers commented on Jul 2, 2021

    @PGijsbers
    CollaboratorAuthor

    No. The changes were only made to allow edits to dataset entities. OpenML Python still does not support changing the flows as far as I can tell (nor does the Rest API, I think).

  5. Prachi194agrawal commented on Dec 9, 2025

    @Prachi194agrawal
    Contributor

    Hello everyone,

    I've opened Pull Request #1527 (linked above) to address this issue by implementing the client-side functionality for editing flow metadata.

    The new function, openml.flows.edit_flow, allows authenticated users to update the following non-critical fields on an existing flow:

    • custom_name
    • tags
    • language
    • description

    This implementation relies on the existence of the corresponding flow/edit REST API endpoint.

    I believe this completes the work needed on the openml-python side to close Issue #896. Could a maintainer please review PR #1527?

    Thanks!

  6. added a commit that references this issue on Dec 11, 2025
    4b06b3c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions