Skip to content

feat(core): Support freezing List/Dict #58

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

Merged
merged 1 commit into from
Apr 23, 2025

Conversation

potatomashed
Copy link
Collaborator

@potatomashed potatomashed commented Apr 23, 2025

Should fix #50.

Note that frozen is supported only on Python side, and mutability is always on in C++. It's possible we may migrate logics that check the field frozen to C++, but no high priority right now.

@potatomashed potatomashed linked an issue Apr 23, 2025 that may be closed by this pull request
@potatomashed potatomashed marked this pull request as ready for review April 23, 2025 06:01
@potatomashed potatomashed merged commit 7e254ee into mlc-ai:main Apr 23, 2025
4 checks passed
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.

Support frozen=True in mlc dataclasses
1 participant