Skip to content

Commit 0ccf0e8

Browse files
committed
Fixing types
1 parent db8a825 commit 0ccf0e8

File tree

1 file changed

+5
-3
lines changed
  • tests/playwright/shiny/components/selectize

1 file changed

+5
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from shiny import App, module, reactive, ui
1+
from shiny import App, Inputs, Outputs, Session, module, reactive, ui
22

33

44
@module.ui
@@ -7,7 +7,9 @@ def reprex_selectize_ui():
77

88

99
@module.server
10-
def reprex_selectize_server(input, output, session, starting_value=0):
10+
def reprex_selectize_server(
11+
input: Inputs, output: Outputs, session: Session, starting_value: int = 0
12+
):
1113
@reactive.effect
1214
def _():
1315
ui.update_selectize(
@@ -21,7 +23,7 @@ def _():
2123
app_ui = ui.page_fluid(reprex_selectize_ui("reprex_selectize"))
2224

2325

24-
def server(input, output, session):
26+
def server(input: Inputs, output: Outputs, session: Session):
2527
reprex_selectize_server("reprex_selectize")
2628

2729

0 commit comments

Comments
 (0)