openml / openml/server-api

GET /flow/exists/{name}/{version}

Open
#31 1 comment 0 reactions 1 assignee View on GitHub

@PGijsbers is already working on this.

Since Jul 12, 2024.

Flows GET Migration
Dominant language
Python
Stars
16
Forks
50
PR merge metrics
No merged PRs in 30d

Description

Indicate whether a flow with a givern name and external version exists. If it does, return the flow id. If it does not, return a message that it does not.

Examples:

  • Flow 7000 has name mlr.classif.rpart.tuned and external version R_3.4.0-v2.ddc1acf9. The endpoint returns {"flow_exists":{"exists":"true","id":"7000"}}.
  • If instead there is no match, it returns {"flow_exists":{"exists":"false","id":"-1"}}.
  • scikit-learn flows have names that are typically invalid in URLs, for example sklearn.ensemble.weight_boosting.AdaBoostClassifier(base_estimator=sklearn.tree.tree.DecisionTreeClassifier). These are supported by the POST endpoint by the same path where the parameter values are supplied through the request body: {"name": name, "external_version": external_version}. (See also #166).

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.