You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expect to be able to send in a list of dicts for data when using exclude with extract_data_from_json and it properly parses through the list of dicts.
Environment
Expected Behavior
I expect to be able to send in a list of dicts for
data
when usingexclude
withextract_data_from_json
and it properly parses through the list of dicts.Observed Behavior
exclude
only removes keys whendata
is a dict:jdiff/jdiff/extract_data.py
Lines 33 to 37 in be82cec
Despite that the underlying
exclude_filter
works recursively with lists:jdiff/jdiff/utils/data_normalization.py
Lines 79 to 82 in be82cec
Steps to Reproduce
Here, you can see it works when sending in a dict rather than a list:
But, if you send the list from before to
exclude_filter
it works as expected:The text was updated successfully, but these errors were encountered: