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

state: implement __copy__ and __deepcopy__ for MutableProxy #1845

Merged
merged 2 commits into from
Sep 20, 2023

Conversation

masenf
Copy link
Collaborator

@masenf masenf commented Sep 20, 2023

state: implement copy and deepcopy for MutableProxy

Allow state vars accessed through MutableProxy to be copied and unconnected from the proxy. Copied objects that are modified will not mark the associated field on the state as dirty.

Fix #1841
Fix REF-647

Allow state vars accessed through MutableProxy to be copied and unconnected
from the proxy. Copied objects that are modified will not mark the associated
field on the state as dirty.

Fix #1841
Fix REF-647
@picklelo picklelo merged commit 1bfb579 into main Sep 20, 2023
@picklelo picklelo deleted the masenf/copy-deepcopy-proxy branch October 9, 2023 21:07
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

Successfully merging this pull request may close these issues.

[REF-647] deepcopy on rx.Model not working
2 participants