should_report#

ProgressReporter.should_report(trials: List[Trial], done: bool = False)[source]#

Returns whether or not progress should be reported.

Parameters:
  • trials (List[Trial]) – Trials to report on.

  • done (bool) – Whether this is the last progress report attempt.