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

Function _connections_payload

uncommon_route/support.py:92–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90
91
92def _connections_payload() -> dict[str, Any]:
93 store = ConnectionsStore()
94 effective = resolve_primary_connection(store=store)
95 return {
96 "stored": store.export(),
97 "effective": {
98 "upstream": effective.upstream,
99 "has_api_key": bool(effective.api_key),
100 "api_key_preview": mask_api_key(effective.api_key),
101 "source": effective.source,
102 "upstream_source": effective.upstream_source,
103 "api_key_source": effective.api_key_source,
104 "editable": effective.editable,
105 },
106 }
107
108
109def _spending_payload() -> dict[str, Any]:

Callers 1

build_support_bundleFunction · 0.85

Calls 4

exportMethod · 0.95
ConnectionsStoreClass · 0.90
mask_api_keyFunction · 0.90

Tested by

no test coverage detected