

def setUp(self):
    connect(db='mongoenginetest')
    self.db = get_db()

    class Person(Document):
        name = StringField()
        age = IntField()
        non_field = True
        meta = {
            'allow_inheritance': True,
        }
    meta.Person = Person

dataset/ETHPy150Open MongoEngine/mongoengine/tests/document/delta.py DeltaTest.setUp/VarMisuse@62/78 `self`->`meta`