We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90ed89c commit 05fe2cbCopy full SHA for 05fe2cb
1 file changed
pgvector/bit.py
@@ -42,9 +42,6 @@ def bit_value(v: bool) -> str:
42
warn('expected elements to be boolean', stacklevel=2)
43
value = value.astype(bool)
44
45
- # for mypy
46
- assert isinstance(value, np.ndarray)
47
-
48
if value.ndim != 1:
49
raise ValueError('expected ndim to be 1')
50
0 commit comments