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 _safe_call(self, obs, method, **kwargs):
      if obs not in self._failed_observers:
          try:
              getattr(obs, method)(**kwargs)
          except Exception as e:
              self._failed_observers.append(obs)
              self.run_logger.warning(
                  "An error ocurred in the '{}' "
                  "observer: {}".format(obs, e)
              )
  
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 18 for calling the Run obj's underlying member method code with example usage: obj._safe_call(obs, method) without return types