ui.notification_remove
id, *, session=None) ui.notification_remove(
Remove a notification.
notification_remove provides a way to remove a notification programmatically. Notifications can also be removed manually by the user, or automatically after a specififed amont of time passes.
Parameters
id : str
-
The
id
of the notification to remove. session : Optional[
Session
] = None-
The Session in which the notification appears. If not provided, the session is inferred via get_current_session.
Returns
: str
-
The notification’s
id
.