Skip to content

Commit

Permalink
fixup! Document CellKey being a RowKey, ColumnKey tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Nov 1, 2023
1 parent 544058a commit fcd664e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/textual/widgets/_data_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@ class CellKey(NamedTuple):
can still be used to retrieve it, regardless of where it currently is."""

row_key: RowKey
"""The key of this cell's row."""
column_key: ColumnKey
"""The key of this cell's column."""

def __rich_repr__(self):
yield "row_key", self.row_key
Expand Down

0 comments on commit fcd664e

Please sign in to comment.