UtilityΒΆ

ray.data.set_progress_bars(enabled: bool) bool[source]ΒΆ

Set whether progress bars are enabled.

The default behavior is controlled by the RAY_DATA_DISABLE_PROGRESS_BARS environment variable. By default, it is set to β€œ0”. Setting it to β€œ1” will disable progress bars, unless they are reenabled by this method.

Returns

Whether progress bars were previously enabled.

PublicAPI: This API is stable across Ray releases.