Skip to content

Commit

Permalink
Export StringKey from DataTable module (#4760)
Browse files Browse the repository at this point in the history
* Export StringKey from DataTable module

* Update CHANGELOG
  • Loading branch information
darrenburns authored Jul 17, 2024
1 parent bab909d commit 90bbde8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- 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
- Add `Tree.move_cursor` to programmatically move the cursor without selecting the node https://github.com/Textualize/textual/pull/4753
- Added `Footer` component style handling of padding for the key/description https://github.com/Textualize/textual/pull/4651
- `StringKey` is now exported from `data_table` https://github.com/Textualize/textual/pull/4760

### Fixed

Expand Down
2 changes: 2 additions & 0 deletions src/textual/widgets/data_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
Row,
RowDoesNotExist,
RowKey,
StringKey,
)

__all__ = [
Expand All @@ -24,4 +25,5 @@
"Row",
"RowDoesNotExist",
"RowKey",
"StringKey",
]

0 comments on commit 90bbde8

Please sign in to comment.