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

Add customisable callback functions to client #1515

Closed
ml-evs opened this issue Feb 18, 2023 · 1 comment · Fixed by #1519
Closed

Add customisable callback functions to client #1515

ml-evs opened this issue Feb 18, 2023 · 1 comment · Fixed by #1519
Labels
client Issues/PRs relating to the OPTIMADE client. enhancement New feature or request suggestions

Comments

@ml-evs
Copy link
Member

ml-evs commented Feb 18, 2023

It would be nice if you could pass a callable to .get() that gets called after each page or N pages of results is downloaded, to e.g., iteratively insert results into a database or do some other processing.

@ml-evs ml-evs added enhancement New feature or request suggestions client Issues/PRs relating to the OPTIMADE client. labels Feb 18, 2023
@ml-evs
Copy link
Member Author

ml-evs commented Feb 20, 2023

Closed by #1519

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client Issues/PRs relating to the OPTIMADE client. enhancement New feature or request suggestions
Projects
None yet
1 participant