Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Inherit MutableMapping in TreeValue Class #44

Closed
HansBug opened this issue Jun 19, 2022 · 2 comments
Closed

Inherit MutableMapping in TreeValue Class #44

HansBug opened this issue Jun 19, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@HansBug
Copy link
Member

HansBug commented Jun 19, 2022

The TreeValue class need to inherit MutableMapping class for supporting all the features that dict object have.

See: https://docs.python.org/3/library/collections.abc.html#collections-abstract-base-classes

@HansBug HansBug added the enhancement New feature or request label Jun 19, 2022
@HansBug HansBug added this to the v1.4.0 Release milestone Jun 19, 2022
@HansBug
Copy link
Member Author

HansBug commented Jun 21, 2022

@HansBug
Copy link
Member Author

HansBug commented Jun 21, 2022

This is about dictview: https://docs.python.org/3/library/stdtypes.html#dictionary-view-objects

Maybe we need to manually build a treevalueview class for keys, values and items.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant