ui.notification_remove
ui.notification_remove(id, *, session=None)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
idof 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.