code: def InitFromFlowObject(self, fo):
      
  
      self.client_id = fo.client_id
      if fo.HasField("backtrace"):
        self.backtrace = fo.backtrace
      self.log_message = fo.error_message
      self.timestamp = fo.last_update_time
  
      return self
docs: Initialize from rdf_flow_objects.Flow corresponding to a failed flow.