Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[OPIK-555] Add retries for get dataset items operation #839

Merged

Conversation

alexkuzmik
Copy link
Collaborator

Details

Since fern API returned a stream object when reading dataset items, retries haven't really worked with that (we had only retries on returning a streaming object). If there was a ReadTimeout error during the chunk read - an exception was not caught and the code failed after first attempt.

This PR adds retries to the whole get-items operation in Dataset api class.

@alexkuzmik alexkuzmik requested a review from a team as a code owner December 9, 2024 11:23
@alexkuzmik alexkuzmik self-assigned this Dec 9, 2024
@alexkuzmik alexkuzmik marked this pull request as draft December 9, 2024 11:23
@alexkuzmik alexkuzmik marked this pull request as ready for review December 9, 2024 11:59
@alexkuzmik alexkuzmik requested review from a team as code owners December 9, 2024 11:59
@alexkuzmik alexkuzmik merged commit 222c25c into main Dec 9, 2024
23 checks passed
@alexkuzmik alexkuzmik deleted the alexkuzmik/add-retries-for-get-dataset-items-operation branch December 9, 2024 13:19
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants