Use globals() such that ipyxact could be used as a git submodule.
Otherwise classes generated by _generate_classes are inaccessible from parse_tree when ipyxact is imported through another hierarchy (from ipyxact.ipyxact.ipyxact import Component)
Add missing dim attribute to register element and mask attribute to reset element
globals()
such that ipyxact could be used as a git submodule.Otherwise classes generated by
_generate_classes
are inaccessible fromparse_tree
when ipyxact is imported through another hierarchy (from ipyxact.ipyxact.ipyxact import Component
)dim
attribute toregister
element andmask
attribute toreset
element