Skip to content

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
Co-authored-by: Sebastian Pfitzner <[email protected]>
@pfitzseb pfitzseb enabled auto-merge (squash) December 4, 2024 12:39
@pfitzseb pfitzseb merged commit 31fcb9b into main Dec 4, 2024
13 checks passed
@pfitzseb pfitzseb deleted the mp/update-dataset branch December 4, 2024 12:54
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.

3 participants