Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/MongoEngine/mongoengine
/ Post
Class
Post
tests/fields/test_fields.py:1597–1598 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1595
meta = {
"allow_inheritance"
: False}
1596
1597
class
Post(Document):
1598
title = StringField()
1599
1600
class
Bookmark(Document):
1601
bookmark_object = GenericReferenceField()
Callers
8
test_generic_reference
Method · 0.70
test_generic_reference_list
Method · 0.70
test_generic_reference_choices
Method · 0.70
test_generic_reference_string_choices
Method · 0.70
test_generic_reference_choices_no_dereference
Method · 0.70
test_generic_reference_list_choices
Method · 0.70
test_generic_reference_list_item_modification
Method · 0.70
test_recursive_validation
Method · 0.70
Calls
3
StringField
Class · 0.90
ListField
Class · 0.90
EmbeddedDocumentField
Class · 0.90
Tested by
8
test_generic_reference
Method · 0.56
test_generic_reference_list
Method · 0.56
test_generic_reference_choices
Method · 0.56
test_generic_reference_string_choices
Method · 0.56
test_generic_reference_choices_no_dereference
Method · 0.56
test_generic_reference_list_choices
Method · 0.56
test_generic_reference_list_item_modification
Method · 0.56
test_recursive_validation
Method · 0.56