Skip to content

Commit 09fda5b

Browse files
committed
Fixed CI
1 parent 40ef30f commit 09fda5b

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎pgvector/sqlalchemy/bit.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def process_bind_param(self, value: Any, dialect: Any) -> Any:
1414
return asyncpg.BitString(value) # type: ignore
1515
return value
1616

17-
class Comparator(TypeDecorator.Comparator[Any]):
17+
class Comparator(TypeDecorator.Comparator[Any]): # type: ignore
1818
def hamming_distance(self, other: object, /) -> Operators:
1919
return self.op('<~>', return_type=Float)(other)
2020

‎pgvector/sqlalchemy/halfvec.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def process(value: Any) -> list[float] | None:
3535
return HalfVector._from_db(value)
3636
return process
3737

38-
class Comparator(TypeEngine.Comparator[Any]):
38+
class Comparator(TypeEngine.Comparator[Any]): # type: ignore
3939
def l2_distance(self, other: object, /) -> Operators:
4040
return self.op('<->', return_type=Float)(other)
4141

‎pgvector/sqlalchemy/sparsevec.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def process(value: Any) -> SparseVector | None:
3535
return SparseVector._from_db(value)
3636
return process
3737

38-
class Comparator(TypeEngine.Comparator[Any]):
38+
class Comparator(TypeEngine.Comparator[Any]): # type: ignore
3939
def l2_distance(self, other: object, /) -> Operators:
4040
return self.op('<->', return_type=Float)(other)
4141

‎pgvector/sqlalchemy/vector.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def process(value: Any) -> list[float] | None:
3535
return Vector._from_db(value)
3636
return process
3737

38-
class Comparator(TypeEngine.Comparator[Any]):
38+
class Comparator(TypeEngine.Comparator[Any]): # type: ignore
3939
def l2_distance(self, other: object, /) -> Operators:
4040
return self.op('<->', return_type=Float)(other)
4141

0 commit comments

Comments
 (0)