MCPcopy
hub / github.com/ray-project/ray / read_file

Function read_file

python/ray/_common/tests/test_usage_stats.py:88–92  ·  view source on GitHub ↗
(temp_dir: Path, column: str)

Source from the content-addressed store, hash-verified

86
87
88def read_file(temp_dir: Path, column: str):
89 usage_stats_file = temp_dir / usage_constants.USAGE_STATS_FILE
90 with usage_stats_file.open() as f:
91 result = json.load(f)
92 return result[column]
93
94
95def print_dashboard_log():

Callers 5

test_usage_report_e2eFunction · 0.85
verifyFunction · 0.85
verify_dashboard_usedFunction · 0.85

Calls 2

loadMethod · 0.80
openMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…