Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MongoEngine/mongoengine
/ User
Class
User
tests/queryset/test_queryset.py:1585–1586 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1583
""
"
1584
1585
class
User(EmbeddedDocument):
1586
name = StringField()
1587
1588
class
BlogPost(Document):
1589
content = StringField()
Callers
14
test_find_embedded
Method · 0.70
test_pull_from_nested_embedded
Method · 0.70
test_pull_from_nested_embedded_using_in_nin
Method · 0.70
test_set_generic_embedded_documents
Method · 0.70
test_scalar
Method · 0.70
test_as_pymongo_returns_cls_attribute_when_using_inheritance
Method · 0.70
test_as_pymongo_json_limit_fields
Method · 0.70
test_only_after_count
Method · 0.70
test_no_dereference
Method · 0.70
test_no_dereference_internals
Method · 0.70
test_no_dereference_no_side_effect_on_existing_instance
Method · 0.70
test_no_dereference_embedded_doc
Method · 0.70
Calls
9
StringField
Class · 0.85
GenericEmbeddedDocumentField
Class · 0.85
IntField
Class · 0.85
ObjectIdField
Class · 0.85
DecimalField
Class · 0.85
EmbeddedDocumentField
Class · 0.85
EmailField
Class · 0.85
ReferenceField
Class · 0.85
GenericReferenceField
Class · 0.85
Tested by
14
test_find_embedded
Method · 0.56
test_pull_from_nested_embedded
Method · 0.56
test_pull_from_nested_embedded_using_in_nin
Method · 0.56
test_set_generic_embedded_documents
Method · 0.56
test_scalar
Method · 0.56
test_as_pymongo_returns_cls_attribute_when_using_inheritance
Method · 0.56
test_as_pymongo_json_limit_fields
Method · 0.56
test_only_after_count
Method · 0.56
test_no_dereference
Method · 0.56
test_no_dereference_internals
Method · 0.56
test_no_dereference_no_side_effect_on_existing_instance
Method · 0.56
test_no_dereference_embedded_doc
Method · 0.56
Used in the wild
real call sites across dependent graphs
searching dependent graphs…