From 2379bb46e06fa38780f21b56822d2f932b2585c1 Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Wed, 15 Feb 2023 11:22:58 +0000 Subject: [PATCH] Add type annotation to the DataTable Now that the new DataTable is merged in. --- tests/snapshot_tests/snapshot_apps/disable_widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/snapshot_tests/snapshot_apps/disable_widgets.py b/tests/snapshot_tests/snapshot_apps/disable_widgets.py index 809f0c7c5..321e94f7b 100644 --- a/tests/snapshot_tests/snapshot_apps/disable_widgets.py +++ b/tests/snapshot_tests/snapshot_apps/disable_widgets.py @@ -27,7 +27,7 @@ class WidgetDisableTestApp(App[None]): @property def data_table(self) -> DataTable: - data_table = DataTable() + data_table = DataTable[str]() data_table.add_columns("Column 1", "Column 2", "Column 3", "Column 4") data_table.add_rows( [(str(n), str(n * 10), str(n * 100), str(n * 1000)) for n in range(100)]