MCPcopy Create free account
hub / github.com/mongodb/mongo-python-driver / clear

Method clear

bson/son.py:131–133  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

129 return [v for _, v in self.items()]
130
131 def clear(self) -> None:
132 self.__keys = []
133 super().clear()
134
135 def setdefault(self, key: _Key, default: _Value) -> _Value:
136 try:

Callers 1

test_clearsMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_clearsMethod · 0.76