Skip to content
New issue

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

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

Already on GitHub? # to your account

Allow python dictionaries to be passed as metadata argument #403

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

jsheunis
Copy link
Member

This PR updates datalad_catalog.constraints.metadata_constraint to also include a data type constraint for dictionaries so that Python dicts can be passed as the metadata argument to catalog_add (and catalog_create by extension) and catalog_validate during package use in Python. Relevant tests are also added.

Closes #353

…catalog_add (and catalog_create by extension) and catalog_validate; add relevant tests
@jsheunis jsheunis merged commit 18538d1 into main Dec 12, 2023
7 of 9 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ENH: allow python dictionaries as format for metadata input to catalog_add
1 participant