MCPcopy Create free account
hub / github.com/ScaleML/AgentSPEX / _default_path

Method _default_path

scripts/dashboard.py:545–551  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

543 return _collect_logs(self.root)
544
545 def _default_path(self) -> Optional[str]:
546 if self.initial_path:
547 return str(self.initial_path)
548 logs = self.list_logs()
549 if not logs:
550 return None
551 return logs[0].get("path")
552
553 def _get_or_create(self, path: Path) -> LogSession:
554 key = str(path)

Callers 3

subscribeMethod · 0.95
get_stateFunction · 0.80
list_logsFunction · 0.80

Calls 2

list_logsMethod · 0.95
getMethod · 0.80

Tested by

no test coverage detected