def __setattr__(self, attr, value):
        try:
            super(SemiStrictDict, self).__setattr__(attr, value)
        except __HOLE__:
            try:
                self._extras[attr] = value
            except AttributeError:
                self._extras = {attr: value}
dataset/ETHPy150Open MongoEngine/mongoengine/mongoengine/base/datastructures.py/SemiStrictDict.__setattr__