Skip to content

Conversation

@hectorcast-db
Copy link
Contributor

What changes are proposed in this pull request?

This is a Databricks Config property used only by DB Connect. It is added to the SDK Config as a pass-through so DB Connect can access it.

How is this tested?

Added unit tests:

  • test_config_serverless_usage_policy_name_from_env: Tests reading from DATABRICKS_SERVERLESS_USAGE_POLICY_NAME environment variable
  • test_config_serverless_usage_policy_name_from_config_file: Tests reading from .databrickscfg config file
  • test_config_serverless_usage_policy_name_empty_from_config_file: Tests that missing field returns None

This is a Databricks Config property used only by DB Connect. It is added to the SDK Config as a pass-through so DB Connect can access it.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@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: 1203
  • Commit SHA: 030099956d3c7b4135adc507295724dffc167624

Checks will be approved automatically on success.

@hectorcast-db hectorcast-db changed the title Add ServerlessUsagePolicyName to Config struct. Add ServerlessUsagePolicyName to Config class Jan 14, 2026
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