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

type 'int' is not iterable #267

Closed
mokeyish opened this issue May 21, 2024 · 1 comment · Fixed by #268
Closed

type 'int' is not iterable #267

mokeyish opened this issue May 21, 2024 · 1 comment · Fixed by #268

Comments

@mokeyish
Copy link
Contributor

Reproduce code:

a = Box(
    {
        "a": {
            "b": {
                "c": 100
            }
        }
    },
    box_dots=True
)

x = a.get('a.b.c.d')
cdgriffith added a commit that referenced this issue Jun 12, 2024
* Adding #266 support for accessing nested items in BoxList using numpy-style tuple indexing (thanks to Bit0r)
* Adding tests and Cython releases for Python 3.12
* Fixing #251 support for circular references in lists (thanks to Muspi Merol)
* Fixing #261 altering all `__repr__` methods so that subclassing will output the correct class name (thanks to Gabriel Tkacz)
* Fixing #267 Fix type 'int' not iterable (thanks to YISH)

---------

Co-authored-by: Bit0r <nie_wang@outlook.com>
Co-authored-by: Muspi Merol <me@promplate.dev>
Co-authored-by: Gabriel Tkacz <55806524+gtkacz@users.noreply.github.com>
Co-authored-by: Gabriel Tkacz <gabriel.tkacz@gscap.com.br>
Co-authored-by: YISH <mokeyish@hotmail.com>
@cdgriffith
Copy link
Owner

Released in https://github.com/cdgriffith/Box/releases/tag/7.2.0 thanks!

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 a pull request may close this issue.

2 participants