MCPcopy
hub / github.com/microsoft/data-formulator / delete

Method delete

py-src/data_formulator/knowledge/store.py:405–408  ·  view source on GitHub ↗

Delete a knowledge file.

(self, category: str, path: str)

Source from the content-addressed store, hash-verified

403 return self._jail(category).write_text(path, content)
404
405 def delete(self, category: str, path: str) -> None:
406 """Delete a knowledge file."""
407 self.validate_path(category, path)
408 self._jail(category).unlink(path)
409
410 # -- session experience helpers ----------------------------------------
411

Callers 15

distill_experienceFunction · 0.95
_vault_deleteMethod · 0.45
delete_credentialFunction · 0.45
knowledge_deleteFunction · 0.45
solveFunction · 0.45
ChartRenderServiceFunction · 0.45
DataSourceSidebarPanelFunction · 0.45
SessionDistillFromPanelFunction · 0.45
toggleFunction · 0.45
deleteFunction · 0.45
deleteAllFunction · 0.45

Calls 3

validate_pathMethod · 0.95
_jailMethod · 0.95
unlinkMethod · 0.80

Tested by

no test coverage detected