Skip to content

Remove dead legacy remove_duplicate_dicts helper - #398

Open
ajitashwath wants to merge 1 commit into
google-deepmind:mainfrom
ajitashwath:remove-legacy-dedup-helper
Open

ajitashwath wants to merge 1 commit into
google-deepmind:mainfrom
ajitashwath:remove-legacy-dedup-helper

Conversation

@ajitashwath

Copy link
Copy Markdown

Follow-up to #299. find_data_in_nested_structure now dedups via remove_duplicate_values + _make_hashable, leaving remove_duplicate_dicts with zero callers repo-wide (verified via git grep on current main). Its frozenset(d.items()) implementation also crashes on the non-dict values the new path supports, so keeping it invites misuse.

Deletion-only change (plus one docstring reword); no behavior change.

Superseded by remove_duplicate_values + _make_hashable from the google-deepmind#299 rework. find_data_in_nested_structure no longer calls it, no other callers remain, and its frozenset(d.items()) implementation raises AttributeError on the non-dict values the new path supports.

This branch has not been deployed

No deployments
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.

1 participant