Skip to content

Cannot serialize Scipp objects #227

@damskii9992

Description

@damskii9992

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:

Image

Similarly, when using the more modern inspection method signature of the inspect module, the following error is thrown:

Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [area] serializationAnything related to serialization[priority] highShould be prioritized soon[scope] bugBug report or fix (major.minor.PATCH)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions