Refactor to_data and data method in all Action class , use attribute dict #89
Labels
enhancement
New feature or request
ITJ_Library
Core ITJ Library / Geometry / Assembly / Process
low_priority
It would be good refactor the attribute storing method of the Action classes to be similar to the compas.datastructures
attributes
dictionary. Where the base classAction
serialize theattributes
dictionary, child classes can simply write getter and setter that points to an entry in that dictionary.It will have a cleaner class signature, avoids each child class managing a chain of overriding data() while still having to call super class's data(). Especially in multiple inheritance scenarios.
The text was updated successfully, but these errors were encountered: