MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / list

Method list

uncommon_route/scene_store.py:201–203  ·  view source on GitHub ↗

Return all scenes, sorted by name.

(self)

Source from the content-addressed store, hash-verified

199 return self._scenes.get(name.strip().lower())
200
201 def list(self) -> list[SceneConfig]:
202 """Return all scenes, sorted by name."""
203 return sorted(self._scenes.values(), key=lambda s: s.name)
204
205 def add(self, scene: SceneConfig) -> SceneConfig:
206 """Add or update a scene. Returns the stored scene."""

Callers 6

test_persistenceMethod · 0.95
_cmd_sceneFunction · 0.95
test_list_sortedMethod · 0.45
handle_artifactsFunction · 0.45

Calls

no outgoing calls

Tested by 4

test_persistenceMethod · 0.76
test_list_sortedMethod · 0.36