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

Adds ability for schema_utils to return a base metadata item with specific keys excluded #379

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

jsheunis
Copy link
Member

@jsheunis jsheunis commented Oct 5, 2023

This is particularly useful when wanting to get a base structure with minimal fields that also exclude required fields, e.g. a file-level metadata item with all required fields except for 'path' which will be filled at a later stage.

…cific keys excluded

This is particularly useful when wanting to get a base structure
with minimal fields that also exclude required fields, e.g. a
file-level metadata item with all required fields except for 'path'
which will be filled at a later stage.
@codecov-commenter
Copy link

codecov-commenter commented Oct 5, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (97ce97d) 86.22% compared to head (492f365) 86.24%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #379      +/-   ##
==========================================
+ Coverage   86.22%   86.24%   +0.02%     
==========================================
  Files          45       45              
  Lines        2794     2799       +5     
==========================================
+ Hits         2409     2414       +5     
  Misses        385      385              
Flag Coverage Δ
unittests 79.35% <100.00%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
datalad_catalog/schema_utils.py 88.40% <100.00%> (+0.52%) ⬆️
datalad_catalog/tests/test_schema_utils.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jsheunis jsheunis merged commit a50889d into main Oct 5, 2023
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.

2 participants