Skip to content
New issue

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

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

Already on GitHub? # to your account

feat(dataclass): support copy #4

Merged
merged 1 commit into from
Jan 8, 2025
Merged

Conversation

potatomashed
Copy link
Collaborator

No description provided.

This PR introduces support for Python's native `__copy__` and
`__deepcopy__` method for all MLC dataclasses. This is done by field
visitor and topo visitor.
@potatomashed potatomashed merged commit 72fa855 into mlc-ai:main Jan 8, 2025
4 checks passed
potatomashed added a commit that referenced this pull request Jan 8, 2025
This PR introduces support for Python's native `__copy__` and `__deepcopy__` method for all MLC dataclasses. This is done by field visitor and topo visitor.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant