Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fixed bug in @retried when exception subtypes were not respected #484

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

nfx
Copy link
Contributor

@nfx nfx commented Dec 19, 2023

Changes

This PR adds fixes retries on exception subclasses.

Tests

  • make test run locally
  • make fmt applied
  • relevant integration tests applied

This PR adds fixes retries on exception subclasses.
@tanmay-db tanmay-db added this pull request to the merge queue Dec 19, 2023
Merged via the queue into main with commit 02bbf0c Dec 19, 2023
9 checks passed
@tanmay-db tanmay-db deleted the fix/retry-subclass branch December 19, 2023 15:56
kartikgupta-db added a commit that referenced this pull request Dec 20, 2023
* Sort imports in service template ([#479](#479)).
* Add `py.typed` to support PEP-561 ([#483](#483)).
* Fixed bug in `@retried` when exception subtypes were not respected ([#484](#484)).
* Make `WorkspaceClient` and `AccountClient` more friendly with autospeccing ([#480](#480)).

API Changes:

 * Added `azure_workspace_info` field for `databricks.sdk.service.provisioning.Workspace`.
 * Added `databricks.sdk.service.provisioning.AzureWorkspaceInfo` dataclass.
 * Changed `update_config()` method for [w.serving_endpoints](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/serving_endpoints.html) workspace-level service with new required argument order.
 * Changed `served_entities` field for `databricks.sdk.service.serving.EndpointCoreConfigInput` to no longer be required.
 * Changed `create()` method for [a.account_ip_access_lists](https://databricks-sdk-py.readthedocs.io/en/latest/account/account_ip_access_lists.html) account-level service with new required argument order.
 * Changed `replace()` method for [a.account_ip_access_lists](https://databricks-sdk-py.readthedocs.io/en/latest/account/account_ip_access_lists.html) account-level service with new required argument order.
 * Changed `update()` method for [a.account_ip_access_lists](https://databricks-sdk-py.readthedocs.io/en/latest/account/account_ip_access_lists.html) account-level service with new required argument order.
 * Changed `create()` method for [w.ip_access_lists](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/ip_access_lists.html) workspace-level service with new required argument order.
 * Changed `replace()` method for [w.ip_access_lists](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/ip_access_lists.html) workspace-level service with new required argument order.
 * Changed `update()` method for [w.ip_access_lists](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/ip_access_lists.html) workspace-level service with new required argument order.
 * Changed `ip_addresses` field for `databricks.sdk.service.settings.CreateIpAccessList` to no longer be required.
 * Changed `ip_addresses` field for `databricks.sdk.service.settings.ReplaceIpAccessList` to no longer be required.
 * Removed `list_id` field for `databricks.sdk.service.settings.ReplaceIpAccessList`.
 * Changed `enabled` field for `databricks.sdk.service.settings.UpdateIpAccessList` to no longer be required.
 * Changed `ip_addresses` field for `databricks.sdk.service.settings.UpdateIpAccessList` to no longer be required.
 * Changed `label` field for `databricks.sdk.service.settings.UpdateIpAccessList` to no longer be required.
 * Removed `list_id` field for `databricks.sdk.service.settings.UpdateIpAccessList`.
 * Changed `list_type` field for `databricks.sdk.service.settings.UpdateIpAccessList` to no longer be required.

OpenAPI SHA: d3853c8dee5806d04da2ae8910f273ffb35719a5, Date: 2023-12-14
@kartikgupta-db kartikgupta-db mentioned this pull request Dec 20, 2023
github-merge-queue bot pushed a commit that referenced this pull request Dec 20, 2023
* Sort imports in service template
([#479](#479)).
* Add `py.typed` to support PEP-561
([#483](#483)).
* Fixed bug in `@retried` when exception subtypes were not respected
([#484](#484)).
* Make `WorkspaceClient` and `AccountClient` more friendly with
autospeccing
([#480](#480)).

API Changes:

* Added `azure_workspace_info` field for
`databricks.sdk.service.provisioning.Workspace`.
* Added `databricks.sdk.service.provisioning.AzureWorkspaceInfo`
dataclass.
* Changed `update_config()` method for
[w.serving_endpoints](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/serving_endpoints.html)
workspace-level service with new required argument order.
* Changed `served_entities` field for
`databricks.sdk.service.serving.EndpointCoreConfigInput` to no longer be
required.
* Changed `create()` method for
[a.account_ip_access_lists](https://databricks-sdk-py.readthedocs.io/en/latest/account/account_ip_access_lists.html)
account-level service with new required argument order.
* Changed `replace()` method for
[a.account_ip_access_lists](https://databricks-sdk-py.readthedocs.io/en/latest/account/account_ip_access_lists.html)
account-level service with new required argument order.
* Changed `update()` method for
[a.account_ip_access_lists](https://databricks-sdk-py.readthedocs.io/en/latest/account/account_ip_access_lists.html)
account-level service with new required argument order.
* Changed `create()` method for
[w.ip_access_lists](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/ip_access_lists.html)
workspace-level service with new required argument order.
* Changed `replace()` method for
[w.ip_access_lists](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/ip_access_lists.html)
workspace-level service with new required argument order.
* Changed `update()` method for
[w.ip_access_lists](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/ip_access_lists.html)
workspace-level service with new required argument order.
* Changed `ip_addresses` field for
`databricks.sdk.service.settings.CreateIpAccessList` to no longer be
required.
* Changed `ip_addresses` field for
`databricks.sdk.service.settings.ReplaceIpAccessList` to no longer be
required.
* Removed `list_id` field for
`databricks.sdk.service.settings.ReplaceIpAccessList`.
* Changed `enabled` field for
`databricks.sdk.service.settings.UpdateIpAccessList` to no longer be
required.
* Changed `ip_addresses` field for
`databricks.sdk.service.settings.UpdateIpAccessList` to no longer be
required.
* Changed `label` field for
`databricks.sdk.service.settings.UpdateIpAccessList` to no longer be
required.
* Removed `list_id` field for
`databricks.sdk.service.settings.UpdateIpAccessList`.
* Changed `list_type` field for
`databricks.sdk.service.settings.UpdateIpAccessList` to no longer be
required.

OpenAPI SHA: d3853c8dee5806d04da2ae8910f273ffb35719a5, Date: 2023-12-14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants