-
Notifications
You must be signed in to change notification settings - Fork 2
Cannot serialize Scipp objects #227
Copy link
Copy link
Open
Labels
[area] serializationAnything related to serializationAnything related to serialization[priority] highShould be prioritized soonShould be prioritized soon[scope] bugBug report or fix (major.minor.PATCH)Bug report or fix (major.minor.PATCH)
Metadata
Metadata
Assignees
Labels
[area] serializationAnything related to serializationAnything related to serialization[priority] highShould be prioritized soonShould be prioritized soon[scope] bugBug report or fix (major.minor.PATCH)Bug report or fix (major.minor.PATCH)
Fields
Give feedbackNo fields configured for issues without a type.
Our automatic serializer currently cannot serialize Scipp objects.
When calling
getfullargspecfrom the inspect module to introspect a scipp class's constructor arguments, the following error is thrown:Similarly, when using the more modern inspection method
signatureof the inspect module, the following error is thrown:We rely on introspection to define how the dictionaries should be created, and as such the
to_dictmethod fails when one of the arguments needs to be a scipp class.