databricks-sdk-py
databricks-sdk-py copied to clipboard
[Enhancement] Improve error handling in python SDK
Changes
This PR adds a catch-all error handler from API responses in the Databricks SDK for Python. Also contains minor fixes for error messages.
Tests
- [x]
make testrun locally - [x]
make fmtapplied - [ ] relevant integration tests applied
Same as: https://github.com/databricks/databricks-sdk-py/pull/767
If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:
Trigger: go/deco-tests-run/sdk-py
Inputs:
- PR number: 799
- Commit SHA:
094addf9fd7435f847f16f0f284ec3ee37699063
Checks will be approved automatically on success.
Test Details: go/deco-tests/12007089624