code: def notify_webhook_received(self, payload):
          
          class PayloadContainer:  # noqa
              # bodge to give attribute lookup
              data = payload
  
          notification = self._get_api(mds.NotificationsApi).api_client.deserialize(
              PayloadContainer, mds.NotificationMessage.__name__
          )
          handle_channel_message(
              db=self._db,
              queues=self._queues,
              b64decode=self.b64decode,
              notification_object=notification
          )
docs: Callback function for triggering notification channel handlers.
  
          Use this in conjunction with a webserver to complete the loop when using
          webhooks as the notification channel.
  
          :param str payload: the encoded payload, as sent by the notification channel