Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Allow dataset creation with a recipe #18

Open
mattangus opened this issue Aug 25, 2021 · 2 comments
Open

Feature Request: Allow dataset creation with a recipe #18

mattangus opened this issue Aug 25, 2021 · 2 comments

Comments

@mattangus
Copy link

Currently datasets can only be given ontologies. I.e. project.datasets.create(..., ontology_ids=...). It would be nice to be able to pass an existing recipe, for example reusing recipes across multiple datasets. My current workaround is quite ugly:

    dataset = project.datasets.create(name)
    [r.delete() for r in dataset.recipes.list()]
    dataset.switch_recipe(recipe=recipe)
    dataset.update()
@dataloop-support
Copy link

dataloop-support commented Aug 26, 2021 via email

@styrmis
Copy link

styrmis commented Jan 13, 2023

It looks like this may now be available, as there is a recipe_id parameter available for Datasets.create.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants