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

Class DocumentStub

tests/test_datastructures.py:13–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11
12
13class DocumentStub:
14 def __init__(self):
15 self._changed_fields = []
16 self._unset_fields = []
17
18 def _mark_as_changed(self, key):
19 self._changed_fields.append(key)
20
21 def _mark_as_unset(self, key):
22 self._unset_fields.append(key)
23
24
25class TestBaseDict:

Callers 2

_get_basedictMethod · 0.85
_get_baselistMethod · 0.85

Calls

no outgoing calls

Tested by 2

_get_basedictMethod · 0.68
_get_baselistMethod · 0.68