Skip to content

change leaf boolean function to exclude non-leaves#150

Closed
arkadesOrg wants to merge 1 commit intodpath-maintainers:masterfrom
arkadesOrg:segments-non_leaves-boolean
Closed

change leaf boolean function to exclude non-leaves#150
arkadesOrg wants to merge 1 commit intodpath-maintainers:masterfrom
arkadesOrg:segments-non_leaves-boolean

Conversation

@arkadesOrg
Copy link

I ran into a situation where dpath.util.merge did not allow me to merge dictionaries containing non-standard nodes (e.g. like datetime.date constructed by yaml loader).
So I propose an approach excluding non-leaves (list, dict)

@moomoohk
Copy link
Collaborator

moomoohk commented Sep 2, 2021

Hi Dominik.
Issues like yours should have been fixed by #126.
I have just finished merging and deploying these changes into the latest version of dpath.
Please upgrade your dpath and let me know if this issue still exists for you.

Thanks

@moomoohk moomoohk closed this Dec 4, 2022
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.

2 participants