There was an error while loading. Please reload this page.
1 parent dd28e28 commit 04b2fd5Copy full SHA for 04b2fd5
1 file changed
pgvector/bit.py
@@ -93,10 +93,3 @@ def from_binary(cls, value: bytes) -> Bit:
93
bit = cls.__new__(cls)
94
bit._value = value
95
return bit
96
-
97
- @classmethod
98
- def _to_db(cls, value: Bit) -> str:
99
- if not isinstance(value, Bit):
100
- raise ValueError('expected bit')
101
102
- return value.to_text()
0 commit comments