-
Notifications
You must be signed in to change notification settings - Fork 122
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
Fix nested prefetches in qdrant_local.py #772
Conversation
Local qdrant client with nested prefetches raised the exception: none type has no attribute query. This little change fixes it
✅ Deploy Preview for poetic-froyo-8baba7 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@hh-space-invader thanks for taking over! Will you bring this to the finish line or do you expect some more work from me :) ? |
hi @paul2302 thank you for your contribution, we'll finish it and merge soon on our own |
@joein thank you for taking over so quickly. Is there a timeline for when this might be part of the next release? |
Hey, I expect it to be released not later than 2 days |
@joein so quickly? Wow, thanks! Keep up the great work :D |
* Fix nested prefetches in qdrant_local.py Local qdrant client with nested prefetches raised the exception: none type has no attribute query. This little change fixes it * chore: Added the check for prefetch to async * fix: Fix nested prefetch in async local mode by generating the async client * chore: Added a test case for query using nested prefetch in congruence tests * remove redundant version check --------- Co-authored-by: hh-space-invader <[email protected]> Co-authored-by: George <[email protected]>
Having multiple nested prefetches does not seem to work with qdrant in local mode. The last prefetch in the chain is none which then raises an exception in the _resolve_prefetch_input method:
if prefetch.query
raises an exception since prefetch is none)
All Submissions:
dev
branch. Did you create your branch fromdev
?New Feature Submissions:
pre-commit
withpip3 install pre-commit
and set up hooks withpre-commit install
?Changes to Core Features: