class_docstr: Represent and manage a single run of an experiment.
class_docstr_tok: ["Represent","and","manage","a","single","run","of","an","experiment","."]
code: def _get_captured_output(self):
      if self._output_file.closed:
          return
      text = self._output_file.get()
      if isinstance(text, bytes):
          text = text.decode("utf-8", "replace")
      if self.captured_out:
          text = self.captured_out + text
      if self.captured_out_filter is not None:
          text = self.captured_out_filter(text)
      self.captured_out = text
  
imports: import datetime
  import os.path
  import sys
  import traceback
  from sacred import metrics_logger, SETTINGS
  from sacred.metrics_logger import linearize_metrics
  from sacred.randomness import set_global_seed
  from sacred.utils import SacredInterrupt, join_paths, IntervalTimer
  from sacred.stdout_capturing import get_stdcapturer
label_desc: Use image node_id 6 for calling the Run obj's underlying member method code with example usage: obj._get_captured_output() without return types