Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/clips/pattern
/ clear
Method
clear
pattern/vector/__init__.py:899–901 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
897
self._index.pop(d.name, None)
898
self._update()
899
def
clear(self):
900
self._documents = readonlylist()
901
self._update()
902
903
def
append(self, document):
904
""
" Appends the given Document to the model.
Callers
1
stem
Function · 0.45
Calls
2
_update
Method · 0.95
readonlylist
Class · 0.85
Tested by
no test coverage detected