MCPcopy Create free account
hub / github.com/HKUDS/OpenSpace / deactivate_record

Method deactivate_record

openspace/skill_engine/store.py:515–517  ·  view source on GitHub ↗

Set a specific record's ``is_active`` to False.

(self, skill_id: str)

Source from the content-addressed store, hash-verified

513 )
514
515 async def deactivate_record(self, skill_id: str) -> bool:
516 """Set a specific record's ``is_active`` to False."""
517 return await asyncio.to_thread(self._deactivate_record_sync, skill_id)
518
519 async def reactivate_record(self, skill_id: str) -> bool:
520 """Set a specific record's ``is_active`` to True (revert / rollback)."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected