Skip to content

Commit d786125

Browse files
authored
style: remove unused method
1 parent 2e6795d commit d786125

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pgvector/bit.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,3 @@ def _to_db_binary(cls, value):
7676
raise ValueError('expected bit')
7777

7878
return value.to_binary()
79-
80-
@classmethod
81-
def _from_db(cls, value):
82-
if value is None or isinstance(value, cls):
83-
return value
84-
return cls.from_text(value)

0 commit comments

Comments
 (0)