Skip to content
Snippets Groups Projects

Add support for namespaced attributes in DynamicAttributes

Merged Olivier BICHLER requested to merge attr_ns into dev

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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading