Skip to content

StateSetter support for dynamically sized data structures #310

@johannesloibl

Description

@johannesloibl

StateSetter only supports restoring the state of variables (list, tuple, dict) if the state of the variable and target variable have the same size.
This is a problem if one wants to restore the state of arbitrarily nested objects with dynamic size,
e.g. restore a list of dicts into an empty list.

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