Our automatic serializer currently cannot serialize Scipp objects.
When calling getfullargspec from the inspect module to introspect a scipp class's constructor arguments, the following error is thrown:
Similarly, when using the more modern inspection method signature of 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_dict method fails when one of the arguments needs to be a scipp class.