Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/MongoEngine/mongoengine
/ HandleNoneFields
Class
HandleNoneFields
tests/fields/test_fields.py:332–336 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
330
""
"
331
332
class
HandleNoneFields(Document):
333
str_fld = StringField()
334
int_fld = IntField()
335
flt_fld = FloatField()
336
comp_dt_fld = ComplexDateTimeField()
337
338
HandleNoneFields.drop_collection()
339
Callers
2
test_not_required_handles_none_in_update
Method · 0.85
test_not_required_handles_none_from_database
Method · 0.85
Calls
4
StringField
Class · 0.90
IntField
Class · 0.90
FloatField
Class · 0.90
ComplexDateTimeField
Class · 0.90
Tested by
2
test_not_required_handles_none_in_update
Method · 0.68
test_not_required_handles_none_from_database
Method · 0.68