Skip to content

Read experimental_files_ext_enable_storage_proxy config from env var#1365

Open
yuanjieding-db wants to merge 1 commit intodatabricks:mainfrom
yuanjieding-db:yuanjie/read-env-var-files-api-dp
Open

Read experimental_files_ext_enable_storage_proxy config from env var#1365
yuanjieding-db wants to merge 1 commit intodatabricks:mainfrom
yuanjieding-db:yuanjie/read-env-var-files-api-dp

Conversation

@yuanjieding-db
Copy link
Copy Markdown
Collaborator

@yuanjieding-db yuanjieding-db commented Mar 27, 2026

Summary

Read experimental_files_ext_enable_storage_proxy from DATABRICKS_EXPERIMENTAL_FILES_EXT_ENABLE_STORAGE_PROXY so the storage-proxy flag can be set via env (not only in code).

Why

Matches other Config env-backed flags and simplifies use in jobs/notebooks.

What changed

  • databricks/sdk/config.py: experimental_files_ext_enable_storage_proxy is now ConfigAttribute(env="DATABRICKS_EXPERIMENTAL_FILES_EXT_ENABLE_STORAGE_PROXY").

Testing

Manual check: set the env var, build Config() / WorkspaceClient(), confirm the flag is on. Existing tests that set the attribute in code still apply.

@yuanjieding-db yuanjieding-db force-pushed the yuanjie/read-env-var-files-api-dp branch from d0796d4 to d49a9f0 Compare April 7, 2026 10:07
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

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: 1365
  • Commit SHA: d49a9f0d45e7da5274fc5717471cbecec3c63d48

Checks will be approved automatically on success.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

Please ensure that the NEXT_CHANGELOG.md file is updated with any relevant changes.
If this is not necessary for your PR, please include the following in your PR description:
NO_CHANGELOG=true
and rerun the job.

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.

1 participant