-
Notifications
You must be signed in to change notification settings - Fork 23
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
FR: expose visit api #711
Comments
Hi @PrathamSoni I also had a need for this functionality. As a workaround, I've implemented it myself for now using the Here is a simplified code snippet if you are interested in taking this approach, (note that this snippet doesn't include any error handling). For your ideal interaction, you could change the value for the selection parameter to add filtering:
@thomasht86, are you interested in seeing similar functionality get added to pyvespa? I can look into evolving this into an actual contribution (with tests, etc) if so |
@olaughter This looks very good, and a contribution for this would be very welcome! 🙏 Installing dev-dependencies ( Please let me know if I can speed up your effort in any way! 🚀 |
Closed in #776 |
Expose the visit api as part of the sdk.
Ideal interaction: supply yql query to filter with optional limit/offset. method returns a (async/sync) generator across the documents. raises stop error when either limit is hit/end of generator.
The text was updated successfully, but these errors were encountered: