Skip to content

Commit 90bbde8

Browse files
authored
Export StringKey from DataTable module (#4760)
* Export StringKey from DataTable module * Update CHANGELOG
1 parent bab909d commit 90bbde8

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1818
- Raise `ValueError` with improved error message when number of cells inserted using `DataTable.add_row` doesn't match the number of columns in the table https://github.com/Textualize/textual/pull/4742
1919
- Add `Tree.move_cursor` to programmatically move the cursor without selecting the node https://github.com/Textualize/textual/pull/4753
2020
- Added `Footer` component style handling of padding for the key/description https://github.com/Textualize/textual/pull/4651
21+
- `StringKey` is now exported from `data_table` https://github.com/Textualize/textual/pull/4760
2122

2223
### Fixed
2324

src/textual/widgets/data_table.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
Row,
1111
RowDoesNotExist,
1212
RowKey,
13+
StringKey,
1314
)
1415

1516
__all__ = [
@@ -24,4 +25,5 @@
2425
"Row",
2526
"RowDoesNotExist",
2627
"RowKey",
28+
"StringKey",
2729
]

0 commit comments

Comments
 (0)