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

fix: correctly allow for license=(:fulltext, ...) in update_dataset #74

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

mortenpi
Copy link
Member

The update_dataset function (and by extension, upload_dataset) should, according to the documentation, accept license = (:fulltext, ...) when you want to set a custom license. However, this was currently implemented as (:text, ...), and :fulltext would throw an error.

This PR fixes the implementation to correctly follow the docs and accept license = (:fulltext, ...). We also keep supporting license = (:text, ...) as a deprecated argument as well, since this doesn't cost us much. It also adds test coverage for the license argument.

@mortenpi mortenpi requested a review from a team October 30, 2024 08:29
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

Successfully merging this pull request may close these issues.

1 participant