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

Function generate_disabled_report_data

python/ray/_common/usage/usage_lib.py:873–883  ·  view source on GitHub ↗

Generate the report data indicating usage stats is disabled

()

Source from the content-addressed store, hash-verified

871
872
873def generate_disabled_report_data() -> UsageStatsToReport:
874 """Generate the report data indicating usage stats is disabled"""
875 data = UsageStatsToReport(
876 schema_version=usage_constant.SCHEMA_VERSION,
877 source=os.getenv(
878 usage_constant.USAGE_STATS_SOURCE_ENV_VAR,
879 usage_constant.USAGE_STATS_SOURCE_OSS,
880 ),
881 collect_timestamp_ms=int(time.time() * 1000),
882 )
883 return data
884
885
886def generate_report_data(

Callers

nothing calls this directly

Calls 2

UsageStatsToReportClass · 0.85
timeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…