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.
✨ Feature: Implement
openml.flows.edit_flowfor Flow Metadata Editing (Closes #896)This Pull Request addresses Issue #896 by introducing the function
openml.flows.edit_flow, which allows authenticated users to modify non-critical metadata fields of their uploaded OpenML Flows.This functionality is crucial for fixing typos, adding missing context, or updating automatically generated names, as discussed in the original issue thread.
⚙️ Key Changes:
openml.flows.edit_flow(flow_id, **kwargs)toopenml/flows/functions.py.flow/edit):custom_nametags(passed as a list, converted to a comma-separated string for the API)languagedescriptionflow_idis an integer.tests/test_flows/test_flow_functions.pyto cover single-field edits, multiple-field edits, tag handling, and error conditions (like no fields provided or server errors).openml/flows/__init__.pyand includes detailed docstrings with examples.Note to Reviewers: This implementation relies on the existence of the corresponding
flow/editendpoint in the OpenML REST API (which was implemented separately as a prerequisite for this PR).