Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/MongoEngine/mongoengine
/ get
Method
get
mongoengine/base/datastructures.py:378–382 ·
view source on GitHub ↗
(self, key, default=None)
Source
from the content-addressed store, hash-verified
376
return
hasattr(self, key)
377
378
def
get(self, key, default=None):
379
try
:
380
return
self[key]
381
except
KeyError:
382
return
default
383
384
def
pop(self, key, default=None):
385
v = self.get(key, default)
Callers
1
pop
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected