-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python client type hint error with column-oriented upsert #784
Comments
Hi @affanshahid |
|
Hey @affanshahid |
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.The text was updated successfully, but these errors were encountered: