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

Method pop

mongoengine/base/datastructures.py:384–390  ·  view source on GitHub ↗
(self, key, default=None)

Source from the content-addressed store, hash-verified

382 return default
383
384 def pop(self, key, default=None):
385 v = self.get(key, default)
386 try:
387 delattr(self, key)
388 except AttributeError:
389 pass
390 return v
391
392 def iteritems(self):
393 for key in self:

Callers 15

_attach_objectsMethod · 0.80
_get_connection_settingsFunction · 0.80
disconnectFunction · 0.80
get_connectionFunction · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
create_indexMethod · 0.80
ensure_indexesMethod · 0.80
get_indexes_specMethod · 0.80

Calls 1

getMethod · 0.95