databricks-sql-python
databricks-sql-python copied to clipboard
[PECOBLR-782] added retry handling based on idempotency
What type of PR is this?
- [x] Refactor
- [ ] Feature
- [ ] Bug Fix
- [ ] Other
Description
Refactored the retry handling mechanism to be idempotency based. Also fixed some tests (which were expecting 404 requests to be retried).
How is this tested?
- [x] Unit tests
- [x] E2E Tests
- [ ] Manually
- [ ] N/A
Related Tickets & Documents
Thanks for your contribution! To satisfy the DCO policy in our contributing guide every commit message must include a sign-off message. One or more of your commits is missing this message. You can reword previous commit messages with an interactive rebase (git rebase -i main).
you can run
poetry run python3 -m black src
to fix lint issues