MCPcopy Create free account
hub / github.com/MongoEngine/mongoengine / Other

Class Other

tests/test_dereference.py:427–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425 """Ensure you can handle circular references with more than one level"""
426
427 class Other(EmbeddedDocument):
428 name = StringField()
429 friends = ListField(ReferenceField("Person"))
430
431 class Person(Document):
432 name = StringField()

Callers 1

PersonClass · 0.85

Calls 3

StringFieldClass · 0.85
ListFieldClass · 0.85
ReferenceFieldClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…