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.

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

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