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

Method load_active

openspace/skill_engine/store.py:710–715  ·  view source on GitHub ↗

Load only active skill records, keyed by ``skill_id``. Convenience wrapper for ``load_all(active_only=True)``.

(self)

Source from the content-addressed store, hash-verified

708
709 @_db_retry()
710 def load_active(self) -> Dict[str, SkillRecord]:
711 """Load only active skill records, keyed by ``skill_id``.
712
713 Convenience wrapper for ``load_all(active_only=True)``.
714 """
715 return self.load_all(active_only=True)
716
717 @_db_retry()
718 def load_record_by_path(self, skill_dir: str) -> Optional[SkillRecord]:

Callers 3

process_metric_checkMethod · 0.80
_snapshot_skillsFunction · 0.80
_run_single_taskFunction · 0.80

Calls 1

load_allMethod · 0.95

Tested by

no test coverage detected