class_docstr: Class for handling webhook notifications
      
docstr: Sends the message.
  
  Args:
      message (str): The message to send.
docstr_tok: ["Sends","the","message",".","Args",":","message","(","str",")",":","The","message","to","send","."]
code: def notify(self, message):
      """Sends the message.
  
      Args:
          message (str): The message to send.
      """
  
      if self.username and self.password:
          request = requests.post(
              self.url,
              json=message,
              auth=(self.username, self.password),
          )
      else:
          request = requests.post(self.url, json=message)
  
      if not request.status_code == requests.codes.ok:
          self.logger.error(
              "Request failed: %s - %s",
              request.status_code,
              request.content,
          )
  
imports: import structlog
  import requests
  from notifiers.utils import NotifierUtils
label_desc: Use image node_id 2 for calling the WebhookNotifier obj's underlying member method code with example usage: obj.notify(message) without return types