Skip to content

Conversation

hectorcast-db
Copy link
Contributor

@hectorcast-db hectorcast-db commented Mar 6, 2025

What changes are proposed in this pull request?

Add support for async token refresh:

  • Add an experimental setting to enable async token refresh.
  • Regenerate SDK with latest templates which use the new DataPlane token source.
  • Removed old DataPlane code.

This allows users to use DataPlane endpoints without a performance penalty during token refresh.

How is this tested?

Added integration test.

@hectorcast-db hectorcast-db changed the title Add support for async token refresh [Feature] Add support for async token refresh Mar 6, 2025
Copy link

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: 916
  • Commit SHA: d45376dd76ebe40344d3b58b203fe828baf95b8c

Checks will be approved automatically on success.

@hectorcast-db hectorcast-db enabled auto-merge March 11, 2025 14:24
@hectorcast-db hectorcast-db added this pull request to the merge queue Mar 11, 2025
Merged via the queue into main with commit f2977aa Mar 11, 2025
17 checks passed
@hectorcast-db hectorcast-db deleted the hectorcast-db/enable-new-dp branch March 11, 2025 15:23
deco-sdk-tagging bot added a commit that referenced this pull request Mar 11, 2025
## Release v0.46.0

### New Features and Improvements
* [Experimental] Add support for async token refresh ([#916](#916)).
  This can be enabled with by setting the following setting:
  ```
  export DATABRICKS_ENABLE_EXPERIMENTAL_ASYNC_TOKEN_REFRESH=1.
  ```
  This feature and its setting are experimental and may be removed in future releases.

### API Changes
* Added [w.forecasting](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/ml/forecasting.html) workspace-level service.
* Added `statement_id` field for `databricks.sdk.service.dashboards.GenieQueryAttachment`.
* Added `could_not_get_model_deployments_exception` enum value for `databricks.sdk.service.dashboards.MessageErrorType`.
* [Breaking] Removed `jwks_uri` field for `databricks.sdk.service.oauth2.OidcFederationPolicy`.
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