We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Original report by me.
In python API, use a generator / yield to automate the query of paginated search results
The text was updated successfully, but these errors were encountered:
Make download_all() method auto increment over pages to download all found pages at once.
download_all()
SearchResults
EOProduct
.next_page()
Sorry, something went wrong.
When using download_all on a paginated SearchResult, page iterator should be automatically used to fetch next pages products:
download_all
SearchResult
prods, found_nb = dag.search(**query_args) # len(prods)=20, found_nb=300 paths = dag.download_all(prods, exhaust=True) # len(paths)=300 paths = dag.download_all(prods) # exhaust=False by defaut, len(paths)=20
anesson-cs
Successfully merging a pull request may close this issue.
Original report by me.
In python API, use a generator / yield to automate the query of paginated search results
The text was updated successfully, but these errors were encountered: