You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a DataTable with one column. Do a table.add_row("A", "B").
Get AttributeError: 'NoneType' object has no attribute 'key', which is an odd error.
Instead I should get ValueError: Too many column values provided to add_row
Caused by widgets/_data_table.py:1583, for column, cell in zip_longest(self.ordered_columns, cells)
Will put in a PR that checks the length and puts an error message that doesn't have me pull hair out for ten minutes.
The text was updated successfully, but these errors were encountered:
Create a DataTable with one column. Do a
table.add_row("A", "B")
.Get
AttributeError: 'NoneType' object has no attribute 'key'
, which is an odd error.Instead I should get
ValueError: Too many column values provided to add_row
Caused by widgets/_data_table.py:1583,
for column, cell in zip_longest(self.ordered_columns, cells)
Will put in a PR that checks the length and puts an error message that doesn't have me pull hair out for ten minutes.
The text was updated successfully, but these errors were encountered: