Skip to content

Commit 7a89b94

Browse files
committed
Improved typing for Peewee tests
1 parent 9d171fe commit 7a89b94

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/test_peewee.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
from peewee import Model, PostgresqlDatabase, fn
33
from pgvector import SparseVector, Vector
44
from pgvector.peewee import VectorField, HalfVectorField, FixedBitField, SparseVectorField
5-
from typing import Any
65

76
db = PostgresqlDatabase('pgvector_python_test')
87

@@ -13,7 +12,7 @@ class Meta:
1312

1413

1514
class Item(BaseModel):
16-
id: Any # for typing
15+
id: int # for typing
1716
embedding = VectorField(dimensions=3, null=True)
1817
half_embedding = HalfVectorField(dimensions=3, null=True)
1918
binary_embedding = FixedBitField(max_length=3, null=True)

0 commit comments

Comments
 (0)