Skip to content

support nested key get/set - #144

Open
dxma wants to merge 1 commit into
mewwts:masterfrom
dxma:support_nest_key_with_index_or_slice
Open

support nested key get/set#144
dxma wants to merge 1 commit into
mewwts:masterfrom
dxma:support_nest_key_with_index_or_slice

Conversation

@dxma

@dxma dxma commented May 26, 2022

Copy link
Copy Markdown

Hi,

This PR is enhanced version of #119 , which supports nested key with index/slice, such as 'foo[0].bar' and 'foo.bar[0]'.
Like mentioned in previous PR, this change is not backward compatible, but I found it useful and powerful.

close #110

BR

@sourabhsharma-cpi

Copy link
Copy Markdown

is some1 reviewing this ? this is an amazing enhancement. Please look into this.

@afeblot

afeblot commented Mar 30, 2024

Copy link
Copy Markdown

I would love to see this merged. This would make addict the perfect Swiss army knife dict.

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.

Deep setattr and gettattr when attribute names contain '.'

3 participants