Skip to content

Commit a9ba9a1

Browse files
authored
Merge pull request #110 from seatable/columntypes-json-serialization
Make ColumnTypes JSON serializable Solves #109
2 parents b52db1b + 7994ba5 commit a9ba9a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seatable_api/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
##### column types #####
2020
@unique
21-
class ColumnTypes(Enum):
21+
class ColumnTypes(str, Enum):
2222
DEFAULT = 'default'
2323
NUMBER = 'number'
2424
TEXT = 'text'

0 commit comments

Comments
 (0)