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

Allow adding multiple datafiles to dataset simultaneously #689

Open
cortadocodes opened this issue Dec 13, 2024 · 1 comment
Open

Allow adding multiple datafiles to dataset simultaneously #689

cortadocodes opened this issue Dec 13, 2024 · 1 comment
Labels
feature A new feature of the app

Comments

@cortadocodes
Copy link
Member

Feature request

Use Case

I want to be able to add any number of datafiles to a dataset at once.

Current state

I can only add one using Dataset.add and, if I just set dataset.files to a list of files on an existing dataset, errors potentially ensue (we picked this up downstream in a service using octue).

Proposed Solution

Add a Dataset.add_multiple method or expand the Dataset.add method to take any number of arguments

@cortadocodes cortadocodes added the feature A new feature of the app label Dec 13, 2024
@thclark
Copy link
Contributor

thclark commented Dec 13, 2024

or fix the problem of assigning files, which is a more intuitive way of doing it (as evidenced by that being what we tried to do ourselves)? If not settable, files probably needs to be _files?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature of the app
Projects
None yet
Development

No branches or pull requests

2 participants