Skip to content

Commit 7cc1cd7

Browse files
committed
add comment
1 parent 126086c commit 7cc1cd7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

synapseclient/extensions/curator/file_based_metadata_task.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ def _get_column_type_from_js_property(js_property: dict[str, Any]) -> ColumnType
261261
types = [t for t in js_type if t != "null"]
262262
if len(types) == 1:
263263
js_type = types[0]
264+
# If there are multiple non-null types, we cannot determine a single column type, so default to MediumText
264265
else:
265266
return ColumnType.MEDIUMTEXT
266267
if js_type == "array":

0 commit comments

Comments
 (0)