NotificationType#
- class ansys.tools.common.notifications.NotificationType#
Bases:
str,enum.EnumNotification type / type of the notification.
Controls the visual appearance of the notification (colour, icon, sound) where the target channel supports it.
Using a
strenum means the values map directly toappriseNotifyTypeconstants.
Overview#
Import detail#
from ansys.tools.common.notifications import NotificationType
Attribute detail#
- NotificationType.INFO = 'info'#
Informational message (default). Neutral appearance.
- NotificationType.SUCCESS = 'success'#
Positive outcome. Typically shown in green.
- NotificationType.WARNING = 'warning'#
Something requires attention. Typically shown in yellow/orange.
- NotificationType.FAILURE = 'failure'#
An error or critical problem. Typically shown in red.