Spaces:
Runtime error
Runtime error
赵福来 commited on
Commit ·
aa6ecb5
1
Parent(s): eda2ae8
Fix bug of utils
Browse files- src/display/utils.py +1 -1
src/display/utils.py
CHANGED
|
@@ -12,7 +12,7 @@ def fields(raw_class):
|
|
| 12 |
# These classes are for user facing column names,
|
| 13 |
# to avoid having to change them all around the code
|
| 14 |
# when a modif is needed
|
| 15 |
-
@dataclass
|
| 16 |
class ColumnContent:
|
| 17 |
name: str
|
| 18 |
type: str
|
|
|
|
| 12 |
# These classes are for user facing column names,
|
| 13 |
# to avoid having to change them all around the code
|
| 14 |
# when a modif is needed
|
| 15 |
+
@dataclass(frozen=True)
|
| 16 |
class ColumnContent:
|
| 17 |
name: str
|
| 18 |
type: str
|