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

Method save_record

openspace/skill_engine/store.py:314–316  ·  view source on GitHub ↗

Upsert a single :class:`SkillRecord`.

(self, record: SkillRecord)

Source from the content-addressed store, hash-verified

312
313 # Write API (async, offloaded via asyncio.to_thread)
314 async def save_record(self, record: SkillRecord) -> None:
315 """Upsert a single :class:`SkillRecord`."""
316 await asyncio.to_thread(self._save_record_sync, record)
317
318 async def save_records(self, records: List[SkillRecord]) -> None:
319 """Batch upsert in a single transaction."""

Callers 1

_evolve_capturedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected