From 4e4c82b0426615dcfcdfe0dbc2f52c45a9278a5e Mon Sep 17 00:00:00 2001 From: Marc Skov Madsen Date: Tue, 3 Dec 2024 16:45:25 +0100 Subject: [PATCH] fix mypy (#7512) Co-authored-by: Philipp Rudiger --- panel/widgets/tables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panel/widgets/tables.py b/panel/widgets/tables.py index 7a62e441f6..041f733226 100644 --- a/panel/widgets/tables.py +++ b/panel/widgets/tables.py @@ -1203,7 +1203,7 @@ class Tabulator(BaseTable): row_height = param.Integer(default=30, doc=""" The height of each table row.""") - selection = _ListValidateWithCallable(default=[], doc=""" + selection: list[int] = _ListValidateWithCallable(default=[], doc=""" The currently selected rows of the table. It validates its values against 'selectable_rows' if used.""")