Skip to content

Commit e9c73d9

Browse files
committed
Fix typing problem
1 parent 6873b1c commit e9c73d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

shiny/ui/_input_update.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,9 @@ def update_select(
213213
options = None
214214
else:
215215
option_tags = _render_choices(_normalize_choices(choices), selected)
216-
options = session.process_ui(*option_tags)["html"]
216+
# Typing problem due to a bug in pylance:
217+
# https://github.com/microsoft/pylance-release/issues/2377
218+
options = session.process_ui(option_tags)["html"] # type: ignore
217219

218220
msg = {
219221
"label": label,

0 commit comments

Comments
 (0)