add overwrite to repeated capabilities#2183
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2183 +/- ##
=======================================
Coverage 89.85% 89.85%
=======================================
Files 73 73
Lines 19006 19006
=======================================
+ Hits 17077 17078 +1
+ Misses 1929 1928 -1
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
|
Why are you changing the file modes of our metadata files? |
|
Note: if you pull the latest changes, the system tests will pass. |
I did not explicitly touch those files, doing |
| prefix = rep_cap['prefix'] | ||
| rep_cap_doc = rep_cap.get('documentation', {}) | ||
| has_custom_doc = len(rep_cap_doc) > 0 | ||
| auto_prefix = rep_cap_doc.get('auto_prefix_addition_supported', len(prefix) > 0) |
There was a problem hiding this comment.
So you want a way to ignore the prefix, if it's specified?
That's the only reason I can think of for this auto_prefix_addition_supported value.
- [ ] I've updated CHANGELOG.md if applicable.What does this Pull Request accomplish?
Change generated Repeated Capabilities documentation to support metadata-defined descriptions, examples, and identifier guidance for capability-specific behavior.
What testing has been done?
Manually testing change in config.py propagates to html documentation
Create a unit test