Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StateSetter support for dynamically sized data structures #310

Open
johannesloibl opened this issue Jun 29, 2022 · 0 comments
Open

StateSetter support for dynamically sized data structures #310

johannesloibl opened this issue Jun 29, 2022 · 0 comments

Comments

@johannesloibl
Copy link

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.

johannesloibl added a commit to johannesloibl/apptools that referenced this issue Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant