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

Method _incr_no_dereference_context

mongoengine/base/fields.py:153–156  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

151 return self._no_dereference_context_local > 0
152
153 def _incr_no_dereference_context(self):
154 self._thread_local_storage.no_dereference_context = (
155 self._no_dereference_context_local + 1
156 )
157
158 def _decr_no_dereference_context(self):
159 self._thread_local_storage.no_dereference_context = (

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected