LoggingProgressReporter¶
- class LoggingProgressReporter[source]¶
Bases:
ProgressReporterReports progress by logging messages to the console.
Set the
DIVI_DISABLE_PROGRESSenvironment variable to a truthy value (1,true,yes, oron) to suppress the Rich spinner and fall back to plain log messages.Methods Summary
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:
- 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) –TerminalStatusmember to tag the row as final. Defaults toNone(non-terminal).**kwargs – Additional keyword arguments for subclasses.