class_docstr: Sends a message to Slack upon completion/failing of an experiment.
code: def __init__(
      self,
      webhook_url,
      bot_name="sacred-bot",
      icon=":angel:",
      priority=DEFAULT_SLACK_PRIORITY,
      completed_text=None,
      interrupted_text=None,
      failed_text=None,
  ):
      self.webhook_url = webhook_url
      self.bot_name = bot_name
      self.icon = icon
      self.completed_text = completed_text or (
          ":white_check_mark: *{experiment[name]}* "
          "completed after _{elapsed_time}_ with result=`{result}`"
      )
      self.interrupted_text = interrupted_text or (
          ":warning: *{experiment[name]}* "
          "interrupted after _{elapsed_time}_"
      )
      self.failed_text = failed_text or (
          ":x: *{experiment[name]}* failed after "
          "_{elapsed_time}_ with `{error}`"
      )
      self.run = None
      self.priority = priority
  
file_path: sacred/sacred/observers/slack.py
imports: from sacred.observers.base import RunObserver, td_format
  from sacred.config.config_files import load_config_file
  import json
label_desc: Use image node_id 2 to create a new SlackObserver object from inherited base classes: RunObserver with example: obj = SlackObserver(webhook_url, bot_name, icon, priority, completed_text, interrupted_text, failed_text)