MCPcopy Create free account
hub / github.com/IBM/AssetOpsBench / load_config

Function load_config

src/couchdb/loader.py:54–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52# Config
53# --------------------------------------------------------------------------- #
54def load_config() -> dict:
55 with open(COLLECTIONS_FILE) as f:
56 cfg = json.load(f)
57 return {k: v for k, v in cfg.items() if not k.startswith("_")} # drop "_notes" etc.
58
59
60def collection_config(key: str) -> dict:

Callers 1

collection_configFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected