code: def failed_event(self, fail_time, fail_trace):
      self.run.stop_time = fail_time
      self.run.fail_trace = "\n".join(fail_trace)
      self.run.status = "FAILED"
      self.save()
  
imports: import json
  from threading import Lock
  import warnings
  from sacred.commandline_options import cli_option
  from sacred.observers.base import RunObserver
  from sacred.serializer import flatten
label_desc: Use image node_id 10 for calling the SqlObserver obj's underlying member method code with example usage: obj.failed_event(fail_time, fail_trace) without return types