we have seen that the api can sporadically return a 502 if its under load during uploading. So we should add a retry to listing the sessions and fetching the status
How did you test it?
unit tests
Checklist
[ ] I have updated the referenced issue with new insights and changes
[ ] If this is a code change, I have added unit tests
The coverage rate went from 96% to 96% :arrow_up:
The branch rate is 87%.
100% of new lines are covered.
Diff Coverage details (click to unfold)
### deepset_cloud_sdk/_api/upload_sessions.py
`100%` of new lines are covered (`100%` of the complete file).
### deepset_cloud_sdk/_service/files_service.py
`100%` of new lines are covered (`96%` of the complete file).
Related Issues
Proposed Changes?
How did you test it?
Checklist