openml / openml/server-api

API call to check where a flow is used/referenced

Open
#347 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement php
Dominant language
Python
Stars
16
Forks
50
PR merge metrics
No merged PRs in 30d

Description

Hi, I'm currently trying to figure out where my flows are used/referenced, and why I can't delete them, such as:

According to https://www.openml.org/api/v1/json/run/list/flow/3805 they're not referenced by a run and I can't find a flow which references them. Therefore, I propose an API call which allows to find out which database entries reference a flow/run. This would allow to figure out which meta-flows reference a base-flow (for example in an ensemble) or in my usecase to figure out why my flows aren't deletable.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining the existing flow/run API, including the referenced /api/v1/json/run/list/flow/3805 endpoint, and the database relationships that determine whether flows can be deleted. Define an API response that identifies database entries referencing a flow or run, then verify it explains the references for flows such as 3804 and 3805.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.