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

Method accept

mongoengine/queryset/visitor.py:146–151  ·  view source on GitHub ↗
(self, visitor)

Source from the content-addressed store, hash-verified

144 return bool(self.children)
145
146 def accept(self, visitor):
147 for i in range(len(self.children)):
148 if isinstance(self.children[i], QNode):
149 self.children[i] = self.children[i].accept(visitor)
150
151 return visitor.visit_combination(self)
152
153 @property
154 def empty(self):

Callers

nothing calls this directly

Calls 2

acceptMethod · 0.45
visit_combinationMethod · 0.45

Tested by

no test coverage detected