Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/MongoEngine/mongoengine
/ _clean_slice
Method
_clean_slice
mongoengine/queryset/field_list.py:85–88 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
83
self.value = self.ONLY
84
85
def
_clean_slice(self):
86
if
self.slice:
87
for
field in set(self.slice.keys()) - self.fields:
88
del self.slice[field]
Callers
1
__add__
Method · 0.95
Calls
1
keys
Method · 0.80
Tested by
no test coverage detected