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

Function manifest_path

src/couchdb/init_data.py:60–68  ·  view source on GitHub ↗
(scenario_id)

Source from the content-addressed store, hash-verified

58
59
60def manifest_path(scenario_id) -> str:
61 folder = os.path.join(
62 SCENARIOS_DATA_DIR, f"scenario_{scenario_id}", "manifest.json"
63 )
64 return (
65 folder
66 if os.path.isfile(folder)
67 else os.path.join(SCENARIOS_DATA_DIR, f"scenario_{scenario_id}.json")
68 )
69
70
71def _resolve_manifest(scenario_id) -> tuple:

Callers 1

_resolve_manifestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected