Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IBM/AssetOpsBench
/ _parse_file
Function
_parse_file
src/couchdb/loader.py:116–117 ·
view source on GitHub ↗
(path, cfg)
Source
from the content-addressed store, hash-verified
114
115
116
def
_parse_file(path, cfg) -> list:
117
return
parse_csv(path, cfg)
if
cfg.get(
"format"
) ==
"csv"
else
parse_json(path)
118
119
120
def
_collect_docs(key, source, cfg, base_dir=None) -> list:
Callers
1
_collect_docs
Function · 0.85
Calls
3
parse_csv
Function · 0.85
parse_json
Function · 0.85
get
Method · 0.45
Tested by
no test coverage detected