Python Elements: .to_dict()
#853
Labels
component: elements
Elements/external fields
component: python
Python bindings
enhancement
New feature or request
Milestone
It would be nice if we can quickly/easily serialize our Python elements by exposing all their properties as a dictionary, e.g., via a
.to_dict()
method.That way, one can procedurally generate lattices and then export their properties for checks/re-generation.
(We will get serialization/deserialization "for free" once we have PALS implemented via https://github.com/campa-consortium/pals-python.)
The text was updated successfully, but these errors were encountered: