Skip to content

Commit cd8c4fa

Browse files
genematxjmaruland
authored andcommitted
FIX: Ensure Column Names are Strings (bluesky#1177)
* FIX: ensure column names are strings * MNT: changelog
1 parent 1ff71a4 commit cd8c4fa

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ Write the date in place of the "Unreleased" in the case a new version is release
44
# Changelog
55

66

7+
## Unreleased
8+
9+
### Fixed
10+
11+
- Column names in `TableStructure` are explicitly converted to strings.
12+
13+
714
## v0.1.6 (2025-09-29)
815

916
### Fixed

tiled/structures/table.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class TableStructure:
2424
resizable: Union[bool, Tuple[bool, ...]] = False
2525

2626
def __post_init__(self):
27+
self.columns = list(map(str, self.columns)) # Ensure all column names are str
2728
for column in self.columns:
2829
if column.startswith("_"):
2930
raise ValueError(

0 commit comments

Comments
 (0)