Skip to content

Commit 3319fb1

Browse files
committed
Export shiny.bookmark.restore_input()
1 parent a889407 commit 3319fb1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

shiny/bookmark/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
ShinySaveState,
88
)
99
from ._button import input_bookmark_button
10-
from ._restore_state import RestoreContext, RestoreContextState
10+
from ._restore_state import RestoreContext, RestoreContextState, restore_input
1111

1212
__all__ = (
1313
# _globals
@@ -23,4 +23,5 @@
2323
# _restore_state
2424
"RestoreContext",
2525
"RestoreContextState",
26+
"restore_input",
2627
)

shiny/ui/_input_check_radio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ def input_radio_buttons(
288288
resolved_id = resolve_id(id)
289289
input_label = shiny_input_label(resolved_id, label)
290290

291-
from ..bookmark._restore_state import restore_input
291+
from ..bookmark import restore_input
292292

293293
options = _generate_options(
294294
id=resolved_id,

0 commit comments

Comments
 (0)