Skip to content

_repr_mimebundle_ added to the keys if executed from IPython #73

Description

@Kreol64

Hi,

I have a weird behavior when I execute the below code in IPython console (I use IntelliJ interactive console):

from dotmap import DotMap
d = DotMap({'a': 3}) 
d

This returns:

DotMap(a=3, _repr_mimebundle_=DotMap())

And if I test the number of keys:

print(len(d))

I get 2

I cannot reproduce this behavior in regular console, only with IPython

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions