MCPcopy Index your code
hub / github.com/MongoEngine/mongoengine / MyOIDSDoc

Class MyOIDSDoc

tests/fields/test_fields.py:68–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 # This is the historical behavior so we must make sure we don't modify it (unless consciously done of course)
67
68 class MyOIDSDoc(Document):
69 oids = ListField(ObjectIdField())
70
71 # constructor goes through to_python so casting occurs
72 doc = MyOIDSDoc(oids=[str(ObjectId())])

Calls 2

ListFieldClass · 0.90
ObjectIdFieldClass · 0.90

Used in the wild real call sites across dependent graphs

searching dependent graphs…