Skip to content

Process (de)serialization collides with sealed keyword #6976

@edan-bainglass

Description

@edan-bainglass

Steps to reproduce:

  1. Load a WorkChainNode (you can submit and load a MultiplyAddWorkChain if you don't have another)
  2. Serialize it with serialized = node.serialize(), assuming node is the loaded WorkChainNode
  3. Recreate the WorkChainNode with WorkChainNode.from_serialized(**s)

I get TypeError: SqlaNode.__init__() got an unexpected keyword argument 'sealed'.

Not sure at the moment if this was considered and accepted as is, but naively I would think processes should be compatible with a serialization roundtrip.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions