[ENH]: Introduce junifer.api.generate_yaml#498
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #498 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 1 1
=========================================
Hits 1 1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
I have the impression that this way ( Can't we just look at what fields are defined in the class (not the superclass) and just pass those ones to the constructor? |
That's a fair argument and I see your point.
Not with how I understand the thing works. A model's fields consist of its own fields and superclass' fields (if it has one). So apart from defining what to exclude (or include), I don't see other way. I'll push some updates to make it better. |
This reverts commit 99aab92.
a5c4e20 to
7e49b70
Compare
This PR adds
generate_yamlunderapito generate feature YAML from metadata. Its primary use-case is injulio's feature addition to registry.