databricks-sdk-py icon indicating copy to clipboard operation
databricks-sdk-py copied to clipboard

[Enhancement] Improve error handling in python SDK

Open dsculptor opened this issue 1 year ago • 2 comments

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 test run locally
  • [x] make fmt applied
  • [ ] relevant integration tests applied

Same as: https://github.com/databricks/databricks-sdk-py/pull/767

dsculptor avatar Oct 23 '24 11:10 dsculptor

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.

github-actions[bot] avatar Nov 25 '24 09:11 github-actions[bot]

Test Details: go/deco-tests/12007089624

eng-dev-ecosystem-bot avatar Nov 25 '24 09:11 eng-dev-ecosystem-bot