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

Fixed JSON encoding of importance used as keys #397

Draft
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

CodyCBakerPhD
Copy link
Contributor

fix #396 as well as unreported issue on the GUIDE (Slack communication)

Motivation

Importance classes when used as dictionary keys using the return of organize_messages(..., levels=[..., "importance"]) were not dumpable to JSON, even when using our encoder

This fixes the encoder, allowing the organized message stream to be serialized in JSON manner

TODO: need to add tests

@CodyCBakerPhD CodyCBakerPhD self-assigned this Aug 25, 2023
@CodyCBakerPhD
Copy link
Contributor Author

cc @garrettmflynn

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.

[Bug]: InspectorOutputJSONEncoder Does Not Serialize get_report_header() Output
1 participant