Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Support dictionary semantics in EA class #357

Open
onitake opened this issue Nov 28, 2022 · 1 comment
Open

Support dictionary semantics in EA class #357

onitake opened this issue Nov 28, 2022 · 1 comment

Comments

@onitake
Copy link

onitake commented Nov 28, 2022

The objects.EA class is somewhat awkward to use, because it only has custom get() and set() methods, in addition to the custom serializer from_dict()/to_dict().

It would be very useful to add the full set of collection operations, as described in https://docs.python.org/3/reference/datamodel.html#emulating-container-types , or inherit from https://docs.python.org/3/library/collections.html#collections.UserDict and extend as needed.

@sarya-infoblox
Copy link
Collaborator

Hi @onitake, we will have a look into this and will update you

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

No branches or pull requests

2 participants