code: def set_flush_function(self, flush_function) -> None:
      self._flush_function = flush_function
  
file_path: ReAgent/reagent/reporting/compound_reporter.py
imports: from typing import Callable, List
  from reagent.core.result_registries import TrainingReport
  from .reporter_base import ReporterBase
label_desc: Use image node_id 2 for calling the CompoundReporter obj's underlying member method code with example usage: obj.set_flush_function(flush_function) without return types