MCPcopy Index your code
hub / github.com/MongoEngine/mongoengine / Doc

Class Doc

tests/document/test_delta.py:34–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 @staticmethod
33 def delta(DocClass):
34 class Doc(DocClass):
35 string_field = StringField()
36 int_field = IntField()
37 dict_field = DictField()
38 list_field = ListField()
39
40 Doc.drop_collection()
41 doc = Doc()

Callers 6

deltaMethod · 0.70
delta_recursiveMethod · 0.70
delta_db_fieldMethod · 0.70
test_dynamic_deltaMethod · 0.70

Calls 6

StringFieldClass · 0.85
IntFieldClass · 0.85
DictFieldClass · 0.85
ListFieldClass · 0.85
MapFieldClass · 0.85

Tested by 6

deltaMethod · 0.56
delta_recursiveMethod · 0.56
delta_db_fieldMethod · 0.56
test_dynamic_deltaMethod · 0.56