code: def heartbeat_event(self, info, captured_out, beat_time, result):
      self.run_entry["info"] = info
      self.run_entry["captured_out"] = captured_out
      self.run_entry["heartbeat"] = beat_time
      self.run_entry["result"] = result
      self.save()
  
imports: from __future__ import division, print_function, unicode_literals, absolute_import
  import os
  import textwrap
  import uuid
  from collections import OrderedDict
  import warnings
  from sacred.__about__ import __version__
  from sacred.commandline_options import cli_option
  from sacred.observers import RunObserver
label_desc: Use image node_id 8 for calling the TinyDbObserver obj's underlying member method code with example usage: obj.heartbeat_event(info, captured_out, beat_time, result) without return types