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

Function _get_exported_data

python/ray/data/tests/test_issue_detection_manager.py:30–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28
29
30def _get_exported_data():
31 exported_file = os.path.join(
32 ray._private.worker._global_node.get_session_dir_path(),
33 "logs",
34 "export_events",
35 "event_EXPORT_DATASET_OPERATOR_EVENT.log",
36 )
37 assert os.path.isfile(exported_file)
38
39 with open(exported_file, "r") as f:
40 data = f.readlines()
41
42 return [json.loads(line) for line in data]
43
44
45def test_report_issues():

Callers 1

test_report_issuesFunction · 0.70

Calls 3

openFunction · 0.85
get_session_dir_pathMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…