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

Class BlogPost

tests/queryset/test_queryset.py:82–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80
81 def test_cannot_perform_joins_references(self):
82 class BlogPost(Document):
83 author = ReferenceField(self.Person)
84 author2 = GenericReferenceField()
85
86 # test addressing a field from a reference
87 with pytest.raises(InvalidQueryError):

Calls 10

ReferenceFieldClass · 0.85
StringFieldClass · 0.85
ListFieldClass · 0.85
BooleanFieldClass · 0.85
DateTimeFieldClass · 0.85
DictFieldClass · 0.85
IntFieldClass · 0.85
DecimalFieldClass · 0.85

Used in the wild real call sites across dependent graphs

searching dependent graphs…