pysepal.solara.notifications.state.Toast#
- class pysepal.solara.notifications.state.Toast(id=<factory>, message='', type=ToastType.INFO, created_at=<factory>, timeout=None, count=1)[source]#
An ephemeral notification message.
Attributes
countmessagetimeouttypeidcreated_atMethods
Return the timeout, falling back to the type default.
- Parameters:
id (str)
message (str)
type (ToastType)
created_at (float)
timeout (float | None)
count (int)