Open affanshahid opened 1 month ago
Hi @affanshahid Thanks for reporting this, we'll look into it Could you please tell us qdrant-client version you're using along with the version of pyright?
qdrant-client 1.11.2
pyright language server 1.1.381
Hey @affanshahid
We took a look at the issue, we might need more time to fix the problem with ids
However, embeddings
type hint issue seems to be correct, since it does not expect numpy arrays
I see, i imported TextEmbedding from fastembed in the example, what would be the correct way of doing this? Cast to regular list?
I'm trying to do an upsert without hard-coded data and I get some type hint errors. Everything works fine so I'm assuming its just a typing issue.
The error on
ids
is:I can fix this one by typing the
ids
declaration asids: list[ExtendedPointId]
. This may be just a pyright issue sinceExtendedPointId
is defined asint | str
.The error on vectors is:
Can't seem to get around this one without a
cast
. Like I said, everything works but the type errors hamper the DX.