LoggingProgressReporter

class LoggingProgressReporter[source]

Bases: ProgressReporter

Reports progress by logging messages to the console.

Set the DIVI_DISABLE_PROGRESS environment variable to a truthy value (1, true, yes, or on) to suppress the Rich spinner and fall back to plain log messages.

Methods Summary

end_pipeline_run()

Drop this run's transient pipeline/polling status.

info(message, *[, final_status, overwrite])

Provides a simple informational message.

update(**kwargs)

Provides a progress update.

Methods Documentation

end_pipeline_run()[source]

Drop this run’s transient pipeline/polling status.

The optimizer’s iteration message (_current_msg) is left intact so the spinner persists across a loop; only this run’s own stage/polling indicators are cleared, and the spinner is closed when nothing else remains to show.

Return type:

None

info(message, *, final_status=None, overwrite=False, **kwargs)[source]

Provides a simple informational message.

Parameters:
  • message (str) – The message to display.

  • final_status (TerminalStatus | None) – TerminalStatus member to tag the row as final. Defaults to None (non-terminal).

  • **kwargs – Additional keyword arguments for subclasses.

update(**kwargs)[source]

Provides a progress update.