Skip to content

Commit 657754d

Browse files
authored
Correctly output unsupported type name. (#188)
1 parent 158ff79 commit 657754d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/cocoindex/typing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def analyze_type_info(t) -> AnalyzedTypeInfo:
131131
elif t is float:
132132
kind = 'Float64'
133133
else:
134-
raise ValueError(f"type unsupported yet: {base_type}")
134+
raise ValueError(f"type unsupported yet: {t}")
135135

136136
return AnalyzedTypeInfo(kind=kind, vector_info=vector_info, elem_type=elem_type,
137137
dataclass_type=dataclass_type, attrs=attrs, nullable=nullable)

0 commit comments

Comments
 (0)