annotator.notifier package

annotator.notifier.banner(message[, severity=notification.INFO])

Creates a user-visible banner notification that can be used to display information, warnings and errors to the user.

  • message (String) – The notice message text.
  • severity – The severity of the notice (one of notification.INFO, notification.SUCCESS, or notification.ERROR)

An object with a close method that can be used to close the banner.