Skip to content
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

Simplify paged queries - Python Generators #74

Open
santhoshramaraj opened this issue Oct 25, 2024 · 0 comments · May be fixed by #75
Open

Simplify paged queries - Python Generators #74

santhoshramaraj opened this issue Oct 25, 2024 · 0 comments · May be fixed by #75
Labels
enhancement New feature or request

Comments

@santhoshramaraj
Copy link
Member

santhoshramaraj commented Oct 25, 2024

Some client methods return paged responses. The user is required to handle the paged responses using continuation_token appropriately in the application.

Example - DataFrameClient().query_tables() , SpecClient().query_specs()

These paged responses can be simplified by using Generators in Python for easy use with loops and extracting the underlying paged data.

@santhoshramaraj santhoshramaraj added the enhancement New feature or request label Oct 25, 2024
@santhoshramaraj santhoshramaraj linked a pull request Oct 25, 2024 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant