Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codegen/_last_sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
231772f37bb5c01154bfc3d1401dc241ff1b7409
bcd995071117be59fe1e8c3e3ecfae77ac90b355
29 changes: 0 additions & 29 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,35 +31,6 @@ jobs:
os: windows-latest
pyVersion: ${{ matrix.pyVersion }}

fmt:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0

- name: Install uv
uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.0
with:
version: "0.6.5"

- name: Setup JFrog PyPI proxy
uses: ./.github/actions/setup-jfrog-pypi

- name: Re-lock for JFrog
run: uv lock

- name: Format all files
run: make dev fmt

- name: Restore lockfiles and fix proxy URLs
run: |
git checkout -- '*.lock'
make fix-lockfile

- name: Fail on differences
run: git diff --exit-code

check-manifest:
runs-on: ubuntu-latest

Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Version changelog

## Release v0.144.0 (2026-09-30)

### API Changes
* Add `ai_decide()` method for [w.ai_functions](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/aifunctions/ai_functions.html) workspace-level service.
* Add `environment_variables` field for `databricks.sdk.service.jobs.BaseRun`.
* Add `environment_variables` field for `databricks.sdk.service.jobs.CreateJob`.
* Add `environment_variables` field for `databricks.sdk.service.jobs.JobSettings`.
* Add `environment_variables` field for `databricks.sdk.service.jobs.Run`.
* Add `environment_variables_key` field for `databricks.sdk.service.jobs.RunTask`.
* Add `environment_variables` field for `databricks.sdk.service.jobs.SubmitRun`.
* Add `environment_variables_key` field for `databricks.sdk.service.jobs.SubmitTask`.
* Add `environment_variables_key` field for `databricks.sdk.service.jobs.Task`.
* [Breaking] Change `command_path` field for `databricks.sdk.service.jobs.DeploymentSpec` to no longer be required.
* Change `command_path` field for `databricks.sdk.service.jobs.DeploymentSpec` to no longer be required.
* Change `api_secret_ref` field for `databricks.sdk.service.ml.SchemaRegistryConfig` to no longer be required.
* [Breaking] Change `api_secret_ref` field for `databricks.sdk.service.ml.SchemaRegistryConfig` to no longer be required.

## Release v0.143.0 (2026-09-26)

### API Changes
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Small patches and bug fixes don't need prior communication.

## Coding Style

Code style is enforced by a formatter check in your pull request. We use [Black](https://github.com/psf/black) to format our code. Run `make fmt` to ensure your code is properly formatted prior to raising a pull request.
We use Ruff for Python formatting and linting. Run `make fmt` to format code and apply automatic lint fixes. Run `make lint` to check for remaining lint and formatting issues before raising a pull request.

## Signed Commits
This repo requires all contributors to sign their commits. To configure this, you can follow [Github's documentation](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits) to create a GPG key, upload it to your Github account, and configure your git client to sign commits.
Expand Down
5 changes: 3 additions & 2 deletions databricks/sdk/__init__.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 28 additions & 0 deletions databricks/sdk/_sandbox_grpc/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
"""Committed gRPC stubs for the Sandbox command-execution service.

sandbox_service_pb2 / sandbox_service_pb2_grpc are generated from the shared
client proto (kept out of this package) at
compute-fabric/sandbox-sdk/proto/databricks/sandbox/sandbox_service.proto, a
dependency-stripped copy of
compute-fabric/sandbox-daemon/proto/sandbox_service.proto. The mixin uses only the
streaming RPCs (ExecuteCommand, AttachCommand, StreamInput); the stub also carries
the unary ListCommands, which the mixin does not use. Stubs are committed, not
built: the daemon proto pulls in internal imports that cannot ship publicly.

SDK codegen can't emit streaming clients yet. TODO(XTA-19715): migrate the mixin to
native streaming codegen and drop this package.

Regenerate after the shared proto changes, with a grpcio-tools whose bundled protoc
matches the pinned protobuf major (the sandbox extra in pyproject.toml). Stage the
proto at this package's path so the module path stays databricks.sdk._sandbox_grpc:

root=$(mktemp -d)
mkdir -p "$root/databricks/sdk/_sandbox_grpc"
cp <universe>/compute-fabric/sandbox-sdk/proto/databricks/sandbox/sandbox_service.proto \\
"$root/databricks/sdk/_sandbox_grpc/sandbox_service.proto"
python -m grpc_tools.protoc -I "$root" \\
--python_out="$root" --grpc_python_out="$root" \\
databricks/sdk/_sandbox_grpc/sandbox_service.proto
cp "$root"/databricks/sdk/_sandbox_grpc/sandbox_service_pb2*.py \\
databricks/sdk/_sandbox_grpc/
"""
74 changes: 74 additions & 0 deletions databricks/sdk/_sandbox_grpc/sandbox_service_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading