code: def render(self, progress, width=None, status=None):
      if status != "init":
          self.out.write("%s\n" % progress)
      if status is not None:
          self.out.write("%s\n" % status)
      return RenderResult()
  
file_path: h2o-3/h2o-py/tests/testdir_misc/pyunit_job_progress_custom_widget.py
imports: from builtins import range
  import sys
  import h2o
  from h2o.job import H2OJob
  from h2o.utils.progressbar import ProgressBar, ProgressBarWidget, PBWBar, PBWString, RenderResult
  from tests import pyunit_utils
label_desc: Use image node_id 1 for calling the MyWidget obj's underlying member method code with example usage: obj.render(progress, width, status) and returns: RenderResult