Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_objects
Method · 0.80
_get_connection_settings
Function · 0.80
disconnect
Function · 0.80
get_connection
Function · 0.80
_unregister_no_dereferencing_for_class
Function · 0.80
__init__
Method · 0.80
__init__
Method · 0.80
__init__
Method · 0.80
_get_timeseries_collection
Method · 0.80
create_index
Method · 0.80
ensure_indexes
Method · 0.80
get_indexes_spec
Method · 0.80
Calls
1
get
Method · 0.95
Tested by
13
pre_save_post_validation
Method · 0.64
post_save
Method · 0.64
post_bulk_insert
Method · 0.64
post_bulk_insert
Method · 0.64
test_pop_calls_mark_as_changed
Method · 0.64
test_pop_calls_does_not_mark_as_changed_when_it_fails
Method · 0.64
test___iter___allow_modification_while_iterating_withou_error
Method · 0.64
test_pop_calls_mark_as_changed
Method · 0.64
test_pop
Method · 0.64
delta_recursive
Method · 0.64
delta_recursive_db_field
Method · 0.64
test_list_field_manipulative_operators
Method · 0.64