Skip to content

Commit 3200c31

Browse files
committed
Isort
1 parent 4157551 commit 3200c31

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

shiny/express/ui/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@
109109
notification_remove,
110110
nav_spacer,
111111
navbar_options,
112-
insert_nav_panel,
113112
remove_nav_panel,
114113
update_nav_panel,
115114
Progress,
@@ -297,6 +296,7 @@
297296
"navset_pill",
298297
"navset_pill_list",
299298
"update_nav_panel",
299+
"insert_nav_panel",
300300
"remove_nav_panel",
301301
"navset_tab",
302302
"navset_underline",

shiny/ui/_navs_dynamic.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
from .._namespaces import resolve_id
1313
from ..session import Session, require_active_session
1414
from ..types import NavSetArg
15-
from ._input_update import update_navs
1615
from ._navs import menu_string_as_nav
1716

1817

tests/playwright/shiny/components/dynamic_navs/test_navs_dynamic.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ def test_dynamic_navs(page: Page, local_app: ShinyAppProc) -> None:
1717
page.get_by_role("button", name="Menu", exact=True).click()
1818

1919
# Page begins with 2 tabs: "Hello" and "Foo" and a nav menu with 2 static items.
20-
navset_tab = controller.NavsetTab(page, "tabs")
21-
20+
controller.NavsetTab(page, "tabs").expect_nav_titles(
21+
["Hello", "Foo", "Static1", "Static2"]
22+
)
2223
# Click add-foo to add a new Foo tab
2324
addfoo = controller.InputActionButton(page, "addFoo")
2425
addfoo.click()

tests/playwright/shiny/components/express_navs/app.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
from shiny import reactive
2-
from shiny.express import ui, module
1+
from shiny import Inputs, Outputs, Session, reactive
2+
from shiny.express import module, ui
33

44

55
@module
6-
def my_nav(input, output, session):
6+
def my_nav(input: Inputs, output: Outputs, session: Session):
77
with ui.navset_card_tab(id="navset"):
88
with ui.nav_panel("Panel 1"):
99
"This is the first panel"

0 commit comments

Comments
 (0)