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(
426
426
)
427
427
dtype = vector .dtype
428
428
padding = vector .padding
429
- vector = vector .data
429
+ vector = vector .data # type: ignore
430
430
431
431
padding = 0 if padding is None else padding
432
432
if dtype == BinaryVectorDtype .INT8 : # pack ints in [-128, 127] as signed int8
@@ -443,7 +443,7 @@ def from_vector(
443
443
raise NotImplementedError ("%s not yet supported" % dtype )
444
444
445
445
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
447
447
return cls (metadata + data , subtype = VECTOR_SUBTYPE )
448
448
449
449
def as_vector (self ) -> BinaryVector :
You can’t perform that action at this time.
0 commit comments