MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / source_list

Method source_list

tests/utils/api_client.py:601–604  ·  view source on GitHub ↗

Return list of all sources in the current project.

(self)

Source from the content-addressed store, hash-verified

599 # ------------------------------------------------------------------
600
601 def source_list(self) -> list:
602 """Return list of all sources in the current project."""
603 result = self.command("project.source.list")
604 return result.get("sources", [])
605
606 def source_add(self) -> int:
607 """Add a new source (Commercial only). Returns the new sourceId."""

Calls 2

commandMethod · 0.95
getMethod · 0.45