MCPcopy Index your code
hub / github.com/CommonstackAI/UncommonRoute / resolve

Method resolve

uncommon_route/scene_store.py:236–245  ·  view source on GitHub ↗

Resolve a scene name, with graceful degradation. Returns None if the scene doesn't exist (caller falls back to normal routing).

(self, name: str)

Source from the content-addressed store, hash-verified

234 return False
235
236 def resolve(self, name: str) -> SceneConfig | None:
237 """Resolve a scene name, with graceful degradation.
238
239 Returns None if the scene doesn't exist (caller falls back to
240 normal routing).
241 """
242 scene = self.get(name)
243 if scene is None:
244 logger.debug("Scene '%s' not found, falling back to normal routing", name)
245 return scene
246
247 def export(self) -> dict[str, Any]:
248 """Export all scenes as a JSON-serializable dict."""

Callers

nothing calls this directly

Calls 1

getMethod · 0.95

Tested by

no test coverage detected