LarsHill / metadict

MetaDict is a powerful dict subclass enabling (nested) attribute-style item access/assignment and IDE autocompletion support.
Apache License 2.0
33 stars 0 forks source link

Fix metadict unpacking warning #1

Closed LarsHill closed 2 years ago

LarsHill commented 2 years ago

Add keys() and __contains__() method directly to MetaDict to remove the PyCharm warning for dict unpacking.

This should not be necessary since MetaDict already inherits both keys() and __contains__() from MutableMapping.