Skip to content

Commit 04b2fd5

Browse files
committed
Removed unused method [skip ci]
1 parent dd28e28 commit 04b2fd5

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

pgvector/bit.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,3 @@ def from_binary(cls, value: bytes) -> Bit:
9393
bit = cls.__new__(cls)
9494
bit._value = value
9595
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

Comments
 (0)