ui.notification_remove
ui.notification_remove(id, *, session=None)
Remove a notification.
notification_remove provides a way to remove a notification programatically. 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
Type | Description |
---|---|
str | The notification’s id . |