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.