ray.data.set_progress_bars#

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.

Warning

DEPRECATED: This API is deprecated and may be removed in future Ray releases.