Skip to content

Fix deepcopy in from_anywidget.py #5134

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jmsmdy
Copy link

@jmsmdy jmsmdy commented May 30, 2025

📝 Summary

Fixes #5133

🔍 Description of Changes

Add explicit __deepcopy__ method to widget class.

📋 Checklist

  • [Y] I have read the contributor guidelines.
  • [N/A] For large changes, or changes that affect the public API: this change was discussed or approved through an issue, on Discord, or the community discussions (Please provide a link if applicable).
  • [No] I have added tests for the changes made.
  • [No] I have run the code and verified that it works as expected.

I am having trouble with dev setup (locked-down corporate laptop). Was only able to test by monkey-patching, not building and running full test suite.

📜 Reviewers

@mscolnick

Copy link

vercel bot commented May 30, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marimo-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 30, 2025 6:13am

Copy link

github-actions bot commented May 30, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@jmsmdy
Copy link
Author

jmsmdy commented May 30, 2025

I have read the CLA Document and I hereby sign the CLA

@mscolnick
Copy link
Contributor

thanks @jmsmdy! do you mind adding a test for this?

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.

Deepcopy of anywidgets fails
2 participants