Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/MongoEngine/mongoengine
/ Job
Class
Job
tests/document/test_instance.py:52–54 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
50
class
TestDocumentInstance(MongoDBTestCase):
51
def
setUp(self):
52
class
Job(EmbeddedDocument):
53
name = StringField()
54
years = IntField()
55
56
class
Person(Document):
57
name = StringField()
Callers
2
test_do_not_save_unchanged_references
Method · 0.70
test_embedded_document_equality_with_lazy_ref
Method · 0.70
Calls
3
StringField
Class · 0.85
IntField
Class · 0.85
LazyReferenceField
Class · 0.85
Tested by
2
test_do_not_save_unchanged_references
Method · 0.56
test_embedded_document_equality_with_lazy_ref
Method · 0.56