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

Method __init__

uncommon_route/connections_store.py:114–116  ·  view source on GitHub ↗
(self, storage: ConnectionsStorage | None = None)

Source from the content-addressed store, hash-verified

112
113class ConnectionsStore:
114 def __init__(self, storage: ConnectionsStorage | None = None) -> None:
115 self._storage = storage or FileConnectionsStorage()
116 self._primary = _sanitize_primary(self._storage.load())
117
118 def primary(self) -> PrimaryConnection:
119 return self._primary

Callers

nothing calls this directly

Calls 3

_sanitize_primaryFunction · 0.85
loadMethod · 0.45

Tested by

no test coverage detected