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

ensure applied_filters items are dictionaries #168

Merged
merged 3 commits into from
Feb 3, 2023

Conversation

shouples
Copy link
Collaborator

@shouples shouples commented Feb 3, 2023

During a resample action, when parsing the parent DXDataFrame metadata, any existing filters are cast to FilterTypes. When this is applied to the display metadata, the pydantic models are converted to lists of lists instead of lists of dictionaries. This change makes the conversion explicit within generate_metadata() to ensure inherited filters from the parent DXDataFrame are the correct type.

@shouples shouples added the bug Something isn't working label Feb 3, 2023
@shouples shouples requested a review from a team February 3, 2023 13:37
@shouples shouples self-assigned this Feb 3, 2023
@shouples shouples changed the title ensure applied_filters are dictionaries ensure applied_filters items are dictionaries Feb 3, 2023
@shouples shouples enabled auto-merge (squash) February 3, 2023 13:50
@shouples shouples merged commit e11b4bb into main Feb 3, 2023
@shouples shouples deleted the djs/applied-filters-dicts branch February 3, 2023 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants