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

Function verify_dashboard_used

python/ray/_common/tests/test_usage_stats.py:1537–1544  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1535 resp.raise_for_status()
1536
1537 def verify_dashboard_used():
1538 dashboard_used = read_file(temp_dir, "usage_stats")["extra_usage_tags"][
1539 "dashboard_used"
1540 ]
1541 if os.environ.get("RAY_MINIMAL") == "1":
1542 return dashboard_used == "False"
1543 else:
1544 return dashboard_used == "True"
1545
1546 wait_for_condition(verify_dashboard_used)
1547

Callers

nothing calls this directly

Calls 2

read_fileFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…