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

Overload model dict to fix monty dumping #813

Merged
merged 2 commits into from
Jun 9, 2023
Merged

Conversation

munrojm
Copy link
Member

@munrojm munrojm commented Jun 9, 2023

This PR overloads the dict method of the MPDataDoc pydantic model to use emmet.core.utils.jsanitize. This fixes dumping the documents directly with monty for docs with non-standard key types.

@munrojm munrojm added the release:patch Patch release label Jun 9, 2023
@munrojm munrojm merged commit 3e514cf into main Jun 9, 2023
2 of 11 checks passed
@munrojm munrojm deleted the bugfix/monty_dumping branch August 30, 2023 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:patch Patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant