Add support for namespaced attributes in DynamicAttributes
Add support for namespaced attributes in DynamicAttribute
with a recursive approach (a DynamicAttribute
can have an attribute of type DynamicAttribute
). Usage example (both syntaxes are correct):
attrs.get_attr("mem.data.b")
attrs.get_attr("mem").get_attr("data").get_attr("b")
This is a preliminary work in order to introduce a general mechanism for specifiyng backend and export attributes.
-
Needs more tests in Python. -
Use snake convention for all attributes naming in C++ and Python. -
Solve #142 (closed)
Edited by Olivier BICHLER
Merge request reports
Activity
Filter activity
requested review from @cmoineau and @pineapple
assigned to @olivierbichler
added Feature 🚀 label
mentioned in issue #144 (closed)
reset approvals from @cmoineau by pushing to the branch
added 1 commit
- 74b27718 - Removed attribute naming convention change between C++ and Python and use snake everywhere
added Refactoring🎨 label
Please register or sign in to reply