You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: shiny/playwright/controller/_controls.py
+9-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -6255,10 +6255,12 @@ def set_sort(
6255
6255
----------
6256
6256
sort
6257
6257
The sorting configuration to apply. Can be one of the following:
6258
-
int: Index of the column to sort by (ascending order by default).
6259
-
ColumnSort: A dictionary specifying a single column sort with 'col' and 'desc' keys.
6260
-
list[ColumnSort]: A list of dictionaries for multi-column sorting.
6261
-
None: No sorting applied (not implemented in the current code).
6258
+
* `int`: Index of the column to sort by (ascending order by default).
6259
+
* `ColumnSort`: A dictionary specifying a single column sort with 'col' and 'desc' keys.
6260
+
* `list[int | ColumnSort]`: A list of ints or dictionaries for multi-column sorting.
6261
+
* `None`: No sorting applied (not implemented in the current code).
6262
+
6263
+
If a `desc` values is provided within your `ColumnSort` shaped dictionary, then the direction will be set to that value. If no `desc` value is provided, the column will be sorted in the default sorting order.
6262
6264
timeout
6263
6265
The maximum time to wait for the action to complete. Defaults to `None`.
6264
6266
"""
@@ -6348,10 +6350,9 @@ def set_filter(
6348
6350
----------
6349
6351
filter
6350
6352
The filter to apply. Can be one of the following:
6351
-
None: Resets all filters.
6352
-
str: A string filter (deprecated, use ColumnFilterStr instead).
6353
-
ColumnFilterStr: A dictionary specifying a string filter with 'col' and 'value' keys.
6354
-
ColumnFilterNumber: A dictionary specifying a numeric range filter with 'col' and 'value' keys.
6353
+
* `None`: Resets all filters.
6354
+
* `ColumnFilterStr`: A dictionary specifying a string filter with 'col' and 'value' keys.
6355
+
* `ColumnFilterNumber`: A dictionary specifying a numeric range filter with 'col' and 'value' keys.
6355
6356
timeout
6356
6357
The maximum time to wait for the action to complete. Defaults to `None`.
0 commit comments