File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -426,7 +426,7 @@ def from_vector(
426426 )
427427 dtype = vector .dtype
428428 padding = vector .padding
429- vector = vector .data
429+ vector = vector .data # type: ignore
430430
431431 padding = 0 if padding is None else padding
432432 if dtype == BinaryVectorDtype .INT8 : # pack ints in [-128, 127] as signed int8
@@ -443,7 +443,7 @@ def from_vector(
443443 raise NotImplementedError ("%s not yet supported" % dtype )
444444
445445 metadata = struct .pack ("<sB" , dtype .value , padding )
446- data = struct .pack (f"<{ len (vector )} { format_str } " , * vector )
446+ data = struct .pack (f"<{ len (vector )} { format_str } " , * vector ) # type: ignore
447447 return cls (metadata + data , subtype = VECTOR_SUBTYPE )
448448
449449 def as_vector (self ) -> BinaryVector :
You can’t perform that action at this time.
0 commit comments