bookmark.RestoreState
bookmark.RestoreState(input, values, dir)The state read back when a session is restored from a bookmark.
Shiny creates one of these while a bookmarked session starts up and passes it to any session.bookmark.on_restore() callback. Within a module, the state is scoped to that module, so names are unprefixed.
Input values are restored using restore_input which reads from the active restore context — so this class is mainly of interest for reading back values or files written during saving.
App authors do not construct this class directly.
Attributes
| Name | Description |
|---|---|
| dir | Directory holding the files saved with this bookmark, or None. |
| input | The saved input values, keyed by input name. |
| values | The extra values recorded during saving. |