Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/MongoEngine/mongoengine
/ items
Method
items
mongoengine/base/datastructures.py:396–397 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
394
yield
key, self[key]
395
396
def
items(self):
397
return
[(k, self[k])
for
k in iter(self)]
398
399
def
iterkeys(self):
400
return
iter(self)
Callers
15
__len__
Method · 0.95
__eq__
Method · 0.95
_get_items_from_dict
Method · 0.80
_find_references
Method · 0.80
_fetch_objects
Method · 0.80
_attach_objects
Method · 0.80
build_dict
Method · 0.80
generate_key
Method · 0.80
_format_errors
Method · 0.80
_get_connection_settings
Function · 0.80
_clean_settings
Function · 0.80
_find_existing_connection
Function · 0.80
Calls
no outgoing calls
Tested by
15
test_multiple_connection_settings
Method · 0.64
test_items
Method · 0.64
test_map_field_reference
Method · 0.64
test_dict_field
Method · 0.64
test_dict_field_no_field_inheritance
Method · 0.64
test_generic_reference_map_field
Method · 0.64
test_assertions
Method · 0.64
test_create_index
Method · 0.64
test_abstract_documents
Method · 0.64
expand
Method · 0.64
save
Method · 0.64
_index_test
Method · 0.64