Skip to content

Conversation

@Tejas-Kochar
Copy link

Summary

  • add option for disabling refresh token to be used in U2M.
  • sort scopes when config is initialized.
  • add getters for scopes that add default scope "all-apis" if scopes is empty.

How is this tested?

  • Unit tests for loading scopes from a test .databrickscfg config file
  • Unit tests ensuring disable_oauth_refresh_token is set when environment variable DATABRICKS_DISABLE_OAUTH_REFRESH_TOKEN is set.

NO_CHANGELOG=true

@Tejas-Kochar Tejas-Kochar self-assigned this Dec 23, 2025
@Tejas-Kochar Tejas-Kochar force-pushed the custom-scopes branch 2 times, most recently from b50398b to 4fb6bd0 Compare December 25, 2025 14:26
@github-actions
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: 1166
  • Commit SHA: 8d010884172a70043649d1faead1996d98fc2477

Checks will be approved automatically on success.

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