def set_progress_message(self, message, line_break=False):

        end = '\r' if not line_break else None

        @self.connect
        def on_progress(value, value_max, **kwargs):
            kwargs['end'] = None if value == value_max else end
            _default_on_progress(message, value, value_max, **kwargs)
Set a progress message.
dataset/ETHPy150Open kwikteam/phy/phy/utils/event.py/ProgressReporter.set_progress_message