Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/MongoEngine/mongoengine
/ Simple
Class
Simple
tests/fields/test_fields.py:1014–1015 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1012
""
"
1013
1014
class
Simple(Document):
1015
mapping = ListField(field=IntField())
1016
1017
Simple.drop_collection()
1018
Callers
8
test_list_field_strict
Method · 0.70
test_list_field_rejects_strings
Method · 0.70
test_complex_field_required
Method · 0.70
test_complex_field_same_value_not_changed
Method · 0.70
test_slice_marks_field_as_changed
Method · 0.70
test_del_slice_marks_field_as_changed
Method · 0.70
test_list_field_with_negative_indices
Method · 0.70
test_list_field_complex
Method · 0.70
Calls
3
ListField
Class · 0.90
IntField
Class · 0.90
DictField
Class · 0.90
Tested by
8
test_list_field_strict
Method · 0.56
test_list_field_rejects_strings
Method · 0.56
test_complex_field_required
Method · 0.56
test_complex_field_same_value_not_changed
Method · 0.56
test_slice_marks_field_as_changed
Method · 0.56
test_del_slice_marks_field_as_changed
Method · 0.56
test_list_field_with_negative_indices
Method · 0.56
test_list_field_complex
Method · 0.56