Upgrade lxml, add dublin core schemas to catalog, and bind refresh catalog method as script#20
Upgrade lxml, add dublin core schemas to catalog, and bind refresh catalog method as script#20
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #20 +/- ##
==========================================
Coverage ? 85.21%
==========================================
Files ? 15
Lines ? 2165
Branches ? 0
==========================================
Hits ? 1845
Misses ? 320
Partials ? 0 🚀 New features to boost your workflow:
|
Yes, mostly this was a rename and it worked more or less the same before. Though now we include the default set of schemas in the codebase, thus "refresh" instead of "generate." Adding additional items to the catalog seems to be accomplished by just passing arguments to the refresh function. Though, judging by the docstring, it looks like the arguments we pass may also need to include the default ones to avoid overwriting them. Not ideal for setting up your own catalog. (This may also only work for local installs. Not sure if it applies to applications using this as a library…)
The main thing I can think of is that without allowing My recommendation is to make it configurable. Simplest pathway for consuming applications would be to also make it |
|
@blms do you have a proposal for now to make the |
|
@rlskoeser I'd suggest adding it as an argument to the functions that call Lines 54 to 57 in 992ff81 Lines 86 to 88 in 992ff81 It looks like they aren't called by other functions themselves, so I think this should be safe? Could be worth checking if |
Associated Issue(s): #
Changes in this PR
Notes / questions
Reviewer Checklist
In addition to reviewing code changes: