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

Expando object should be indexable like dict #5

Open
jacob414 opened this issue Feb 4, 2015 · 0 comments
Open

Expando object should be indexable like dict #5

jacob414 opened this issue Feb 4, 2015 · 0 comments
Assignees
Milestone

Comments

@jacob414
Copy link
Member

jacob414 commented Feb 4, 2015

In [9]: from altered import E

In [10]: ee = E(foo=1, bar=2)

In [11]: ee['foo']
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-11-10ceae0d583c> in <module>()
----> 1 ee['foo']

TypeError: 'Expando' object has no attribute '__getitem__'
@jacob414 jacob414 added this to the 1.1.0 milestone Feb 5, 2019
@jacob414 jacob414 self-assigned this Feb 5, 2019
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

1 participant