Skip to content

Commit 4e8e4dc

Browse files
committed
Add type annotation for filter_items in OutputDataFrame
Introduces a type annotation for the filter_items variable in the OutputDataFrame class to improve code clarity and type checking.
1 parent c5dd290 commit 4e8e4dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

shiny/playwright/controller/_output.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,6 +1241,7 @@ def set_filter(
12411241
if filter is None:
12421242
return
12431243

1244+
filter_items: Sequence[ColumnFilter | dict[str, Any]]
12441245
if isinstance(filter, dict):
12451246
filter_items = [filter]
12461247
elif isinstance(filter, (list, tuple)):

0 commit comments

Comments
 (0)