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

Don't fail codegen if the tree was already removed #164

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

pietern
Copy link
Contributor

@pietern pietern commented Oct 12, 2023

This may happen if you retry after a codegen failure.

This may happen if you retry after a codegen failure.
@pietern pietern requested a review from mgyucht October 12, 2023 09:03
@pietern pietern enabled auto-merge October 12, 2023 09:03
@pietern pietern added this pull request to the merge queue Oct 12, 2023
Merged via the queue into main with commit a748ad3 Oct 12, 2023
@pietern pietern deleted the codegen-dont-fail-if-not-exists branch October 12, 2023 09:10
pietern added a commit that referenced this pull request Oct 12, 2023
* Don't fail codegen if the tree was already removed ([#164](#164)).
* Update OpenAPI spec to 12 Oct 2023 ([#165](#165)).

API Changes:

 * Changed `download()` method for `accountClient.billableUsage()` service to start returning `com.databricks.sdk.service.billing.DownloadResponse` class.
 * Added `com.databricks.sdk.service.billing.DownloadResponse` class.
 * Changed `delete()` method for `accountClient.storageCredentials()` service with new required argument order.
 * Changed `get()` method for `accountClient.storageCredentials()` service with new required argument order.
 * Changed `update()` method for `accountClient.storageCredentials()` service with new required argument order.
 * Added `getBindings()` method for `workspaceClient.workspaceBindings()` service.
 * Added `updateBindings()` method for `workspaceClient.workspaceBindings()` service.
 * Removed `name` field for `com.databricks.sdk.service.catalog.AccountsUpdateStorageCredential`.
 * Added `storageCredentialName` field for `com.databricks.sdk.service.catalog.AccountsUpdateStorageCredential`.
 * Removed `name` field for `com.databricks.sdk.service.catalog.DeleteAccountStorageCredentialRequest`.
 * Added `storageCredentialName` field for `com.databricks.sdk.service.catalog.DeleteAccountStorageCredentialRequest`.
 * Removed `name` field for `com.databricks.sdk.service.catalog.GetAccountStorageCredentialRequest`.
 * Added `storageCredentialName` field for `com.databricks.sdk.service.catalog.GetAccountStorageCredentialRequest`.
 * Added `owner` field for `com.databricks.sdk.service.catalog.UpdateConnection`.
 * Added `com.databricks.sdk.service.catalog.GetBindingsRequest` class.
 * Added `com.databricks.sdk.service.catalog.UpdateWorkspaceBindingsParameters` class.
 * Added `com.databricks.sdk.service.catalog.WorkspaceBinding` class.
 * Added `com.databricks.sdk.service.catalog.WorkspaceBindingBindingType` class.
 * Added `com.databricks.sdk.service.catalog.WorkspaceBindingsResponse` class.
 * Added `spec` field for `com.databricks.sdk.service.compute.ClusterDetails`.
 * Added `applyPolicyDefaultValues` field for `com.databricks.sdk.service.compute.ClusterSpec`.
 * Removed `awsAttributes` field for `com.databricks.sdk.service.compute.EditInstancePool`.
 * Removed `azureAttributes` field for `com.databricks.sdk.service.compute.EditInstancePool`.
 * Removed `diskSpec` field for `com.databricks.sdk.service.compute.EditInstancePool`.
 * Removed `enableElasticDisk` field for `com.databricks.sdk.service.compute.EditInstancePool`.
 * Removed `gcpAttributes` field for `com.databricks.sdk.service.compute.EditInstancePool`.
 * Removed `preloadedDockerImages` field for `com.databricks.sdk.service.compute.EditInstancePool`.
 * Removed `preloadedSparkVersions` field for `com.databricks.sdk.service.compute.EditInstancePool`.
 * Added `deployment` field for `com.databricks.sdk.service.jobs.CreateJob`.
 * Added `uiState` field for `com.databricks.sdk.service.jobs.CreateJob`.
 * Added `deployment` field for `com.databricks.sdk.service.jobs.JobSettings`.
 * Added `uiState` field for `com.databricks.sdk.service.jobs.JobSettings`.
 * Removed `conditionTask` field for `com.databricks.sdk.service.jobs.RunOutput`.
 * Added `webhookNotifications` field for `com.databricks.sdk.service.jobs.Task`.
 * Added `com.databricks.sdk.service.jobs.CreateJobUiState` class.
 * Added `com.databricks.sdk.service.jobs.JobDeployment` class.
 * Added `com.databricks.sdk.service.jobs.JobDeploymentKind` class.
 * Added `com.databricks.sdk.service.jobs.JobSettingsUiState` class.
 * Added `workloadType` field for `com.databricks.sdk.service.serving.ServedModelInput`.
 * Added `workloadType` field for `com.databricks.sdk.service.serving.ServedModelOutput`.
 * Removed `accountClient.networkPolicy()` service.
 * Changed `list()` method for `workspaceClient.ipAccessLists()` service to return `com.databricks.sdk.service.settings.ListIpAccessListResponse` class.
 * Removed `com.databricks.sdk.service.settings.AccountNetworkPolicyMessage` class.
 * Removed `com.databricks.sdk.service.settings.DeleteAccountNetworkPolicyRequest` class.
 * Removed `com.databricks.sdk.service.settings.DeleteAccountNetworkPolicyResponse` class.
 * Removed `ipAccessLists` field for `com.databricks.sdk.service.settings.GetIpAccessListResponse`.
 * Added `ipAccessList` field for `com.databricks.sdk.service.settings.GetIpAccessListResponse`.
 * Removed `com.databricks.sdk.service.settings.ReadAccountNetworkPolicyRequest` class.
 * Removed `com.databricks.sdk.service.settings.UpdateAccountNetworkPolicyRequest` class.
 * Added `com.databricks.sdk.service.settings.ListIpAccessListResponse` class.

OpenAPI SHA: 493a76554afd3afdd15dc858773d01643f80352a, Date: 2023-10-12
@pietern pietern mentioned this pull request Oct 12, 2023
github-merge-queue bot pushed a commit that referenced this pull request Oct 12, 2023
* Don't fail codegen if the tree was already removed
([#164](#164)).
* Update OpenAPI spec to 12 Oct 2023
([#165](#165)).

API Changes:

* Changed `download()` method for `accountClient.billableUsage()`
service to start returning
`com.databricks.sdk.service.billing.DownloadResponse` class.
 * Added `com.databricks.sdk.service.billing.DownloadResponse` class.
* Changed `delete()` method for `accountClient.storageCredentials()`
service with new required argument order.
* Changed `get()` method for `accountClient.storageCredentials()`
service with new required argument order.
* Changed `update()` method for `accountClient.storageCredentials()`
service with new required argument order.
* Added `getBindings()` method for `workspaceClient.workspaceBindings()`
service.
* Added `updateBindings()` method for
`workspaceClient.workspaceBindings()` service.
* Removed `name` field for
`com.databricks.sdk.service.catalog.AccountsUpdateStorageCredential`.
* Added `storageCredentialName` field for
`com.databricks.sdk.service.catalog.AccountsUpdateStorageCredential`.
* Removed `name` field for
`com.databricks.sdk.service.catalog.DeleteAccountStorageCredentialRequest`.
* Added `storageCredentialName` field for
`com.databricks.sdk.service.catalog.DeleteAccountStorageCredentialRequest`.
* Removed `name` field for
`com.databricks.sdk.service.catalog.GetAccountStorageCredentialRequest`.
* Added `storageCredentialName` field for
`com.databricks.sdk.service.catalog.GetAccountStorageCredentialRequest`.
* Added `owner` field for
`com.databricks.sdk.service.catalog.UpdateConnection`.
 * Added `com.databricks.sdk.service.catalog.GetBindingsRequest` class.
* Added
`com.databricks.sdk.service.catalog.UpdateWorkspaceBindingsParameters`
class.
 * Added `com.databricks.sdk.service.catalog.WorkspaceBinding` class.
* Added `com.databricks.sdk.service.catalog.WorkspaceBindingBindingType`
class.
* Added `com.databricks.sdk.service.catalog.WorkspaceBindingsResponse`
class.
* Added `spec` field for
`com.databricks.sdk.service.compute.ClusterDetails`.
* Added `applyPolicyDefaultValues` field for
`com.databricks.sdk.service.compute.ClusterSpec`.
* Removed `awsAttributes` field for
`com.databricks.sdk.service.compute.EditInstancePool`.
* Removed `azureAttributes` field for
`com.databricks.sdk.service.compute.EditInstancePool`.
* Removed `diskSpec` field for
`com.databricks.sdk.service.compute.EditInstancePool`.
* Removed `enableElasticDisk` field for
`com.databricks.sdk.service.compute.EditInstancePool`.
* Removed `gcpAttributes` field for
`com.databricks.sdk.service.compute.EditInstancePool`.
* Removed `preloadedDockerImages` field for
`com.databricks.sdk.service.compute.EditInstancePool`.
* Removed `preloadedSparkVersions` field for
`com.databricks.sdk.service.compute.EditInstancePool`.
* Added `deployment` field for
`com.databricks.sdk.service.jobs.CreateJob`.
* Added `uiState` field for `com.databricks.sdk.service.jobs.CreateJob`.
* Added `deployment` field for
`com.databricks.sdk.service.jobs.JobSettings`.
* Added `uiState` field for
`com.databricks.sdk.service.jobs.JobSettings`.
* Removed `conditionTask` field for
`com.databricks.sdk.service.jobs.RunOutput`.
* Added `webhookNotifications` field for
`com.databricks.sdk.service.jobs.Task`.
 * Added `com.databricks.sdk.service.jobs.CreateJobUiState` class.
 * Added `com.databricks.sdk.service.jobs.JobDeployment` class.
 * Added `com.databricks.sdk.service.jobs.JobDeploymentKind` class.
 * Added `com.databricks.sdk.service.jobs.JobSettingsUiState` class.
* Added `workloadType` field for
`com.databricks.sdk.service.serving.ServedModelInput`.
* Added `workloadType` field for
`com.databricks.sdk.service.serving.ServedModelOutput`.
 * Removed `accountClient.networkPolicy()` service.
* Changed `list()` method for `workspaceClient.ipAccessLists()` service
to return `com.databricks.sdk.service.settings.ListIpAccessListResponse`
class.
* Removed
`com.databricks.sdk.service.settings.AccountNetworkPolicyMessage` class.
* Removed
`com.databricks.sdk.service.settings.DeleteAccountNetworkPolicyRequest`
class.
* Removed
`com.databricks.sdk.service.settings.DeleteAccountNetworkPolicyResponse`
class.
* Removed `ipAccessLists` field for
`com.databricks.sdk.service.settings.GetIpAccessListResponse`.
* Added `ipAccessList` field for
`com.databricks.sdk.service.settings.GetIpAccessListResponse`.
* Removed
`com.databricks.sdk.service.settings.ReadAccountNetworkPolicyRequest`
class.
* Removed
`com.databricks.sdk.service.settings.UpdateAccountNetworkPolicyRequest`
class.
* Added `com.databricks.sdk.service.settings.ListIpAccessListResponse`
class.

OpenAPI SHA: 493a76554afd3afdd15dc858773d01643f80352a, Date: 2023-10-12
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