Skip to content

Commit aef495d

Browse files
authored
Update SDK to d1470710f514d8f73570685ee567472fe0cd3807 (#1477)
This PR updates the SDK to the latest API changes. NO_CHANGELOG=true Co-authored-by: Omer Lachish <rauchy@users.noreply.github.com>
1 parent 4314a9b commit aef495d

58 files changed

Lines changed: 1152 additions & 298 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
---
2+
description: >
3+
Write or improve a GitHub pull request description. Use when the user asks
4+
to "write a PR description", "improve the PR description", "update the PR
5+
body", or provides a PR URL and asks for a better description.
6+
Keywords: PR description, pull request summary, PR body, PR writeup.
7+
allowed-tools: [Read, Glob, Grep, Bash, ToolSearch]
8+
---
9+
10+
# Write PR Description
11+
12+
Generate a structured PR description that explains **why** the change exists,
13+
not just what files were touched.
14+
15+
## When to use
16+
17+
- The user provides a PR URL and asks to write or improve its description.
18+
- The user asks to draft a PR description for the current branch.
19+
- An agent needs to open a PR and wants a high-quality description.
20+
21+
## Workflow
22+
23+
### Phase 1: Gather context
24+
25+
Collect all the information needed to understand the change:
26+
27+
1. **Read the PR metadata** — title, current description, author, branch name.
28+
2. **Read the full diff** — understand every file changed, every function added
29+
or removed, every signature change. Do not skip files.
30+
3. **Read surrounding code when needed** — if the diff modifies an interface or
31+
a struct, read the full file to understand how the change fits into the
32+
existing architecture.
33+
4. **Check for linked issues or docs** — the PR or commit messages may
34+
reference issues, design docs, or RFCs that explain motivation.
35+
36+
### Phase 2: Analyze the change
37+
38+
Before writing, answer these questions internally:
39+
40+
- **What was the status quo before this PR?** What limitation, bug, or missing
41+
capability existed?
42+
- **Why is this change needed now?** What concrete problem does it solve? Who
43+
benefits?
44+
- **What are the key design decisions?** Why was this approach chosen over
45+
alternatives?
46+
- **What is the new API surface?** Any new public types, functions, or
47+
configuration options?
48+
- **What are the architectural changes?** How does the internal structure
49+
change? What moves where? What gets refactored?
50+
- **Are there behavioral changes?** If not, say so explicitly — this reassures
51+
reviewers.
52+
53+
### Phase 3: Write the description
54+
55+
Use the structure defined in `.github/PULL_REQUEST_TEMPLATE.md` as the
56+
template. The tone should be direct and technical. Write for a reviewer who is
57+
familiar with the codebase but has not seen this change before.
58+
59+
**Key principles:**
60+
61+
- **Lead with why, not what.** The diff already shows the what. The description
62+
should explain the reasoning that is not visible in the code.
63+
- **Be specific.** Instead of "improves extensibility", say "allows internal
64+
tools to compose their own auth chain from individual credential strategies".
65+
- **Name things.** Reference actual types, functions, files, and config fields.
66+
Use backticks for code references.
67+
- **State non-changes explicitly.** If the PR is a refactor with no behavioral
68+
change, say "No behavioral changes. Existing users are unaffected." This is
69+
valuable information for reviewers.
70+
- **Keep the summary to one or two sentences.** It should be scannable.
71+
- **Use the motivation section to tell a story.** What was the problem? Why
72+
couldn't it be solved before? What does this PR unlock?
73+
74+
### Phase 4: Update the PR
75+
76+
Use the GitHub MCP tools or `gh` CLI to update the PR body with the new
77+
description. Confirm with the user before pushing if unsure.

.codegen.json

Lines changed: 0 additions & 37 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Version changelog
22

3+
## Release v0.118.0 (2026-06-18)
4+
5+
### API Changes
6+
* Add `create_data_api()`, `delete_data_api()`, `get_data_api()` and `update_data_api()` methods for [w.postgres](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/postgres/postgres.html) workspace-level service.
7+
* Add `capacity_reservation_group` field for `databricks.sdk.service.compute.AzureAttributes`.
8+
* Add `serverless_compute_id` field for `databricks.sdk.service.pipelines.ClonePipelineRequest`.
9+
* Add `serverless_compute_id` field for `databricks.sdk.service.pipelines.CreatePipeline`.
10+
* Add `serverless_compute_id` field for `databricks.sdk.service.pipelines.EditPipeline`.
11+
* Add `serverless_compute_id` field for `databricks.sdk.service.pipelines.PipelineSpec`.
12+
* Add `endpoint_id` field for `databricks.sdk.service.vectorsearch.MiniVectorIndex`.
13+
* Add `endpoint_id` field for `databricks.sdk.service.vectorsearch.VectorIndex`.
14+
* Add `dynamics365` enum value for `databricks.sdk.service.catalog.ConnectionType`.
15+
316
## Release v0.117.0 (2026-06-11)
417

518
### API Changes

CONTRIBUTING.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,25 @@
1-
We happily welcome contributions to the Databricks SDK for Python. We use [GitHub Issues](github.com/databricks/databricks-sdk-py/issues) to track community reported issues and [GitHub Pull Requests](https://github.com/databricks/databricks-sdk-py/pulls) for accepting changes.
1+
We happily welcome contributions to the Databricks SDK for Python. We use [GitHub Issues](https://github.com/databricks/databricks-sdk-py/issues) to track community reported issues and [GitHub Pull Requests](https://github.com/databricks/databricks-sdk-py/pulls) to collect proposed changes.
22
Contributions are licensed on a license-in/license-out basis.
33

44
# Contributing Guide
55

6+
## This repository is a mirror
7+
8+
This repository is a read-only mirror: the source of truth for the SDK
9+
lives in Databricks' internal repository, and the contents here are
10+
published from it as part of each release. What this means for you:
11+
12+
- **Issues** are tracked publicly
13+
[here](https://github.com/databricks/databricks-sdk-py/issues).
14+
- **External contributors:** pull requests with potential improvements
15+
should be made against this repository. These pull requests will be
16+
reviewed here, but will not be merged directly once approved.
17+
Rather, a maintainer will re-apply the changes in the Databricks
18+
internal repository and publish them as part of the next release.
19+
- **Databricks employees:** do not open pull requests against this
20+
repository. Make your change in the internal repository following the
21+
internal SDK contribution procedure.
22+
623
## Communication
724
Before starting work on a major feature, please open a GitHub issue. We will make sure no one else is already working on it and that it is aligned with the goals of the project.
825
A "major feature" is defined as any change that is > 100 LOC altered (not including tests), or changes any user-facing behavior.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
[![codecov](https://codecov.io/gh/databricks/databricks-sdk-py/branch/main/graph/badge.svg?token=GU63K7WDBE)](https://codecov.io/gh/databricks/databricks-sdk-py)
88
[![lines of code](https://tokei.rs/b1/github/databricks/databricks-sdk-py)]([https://codecov.io/github/databricks/databricks-sdk-py](https://github.com/databricks/databricks-sdk-py))
99

10+
> This repository is a read-only mirror, published from Databricks'
11+
> internal repository with each release. Pull requests are reviewed
12+
> here but merged internally (see [CONTRIBUTING.md](CONTRIBUTING.md)).
13+
1014
[Beta](https://docs.databricks.com/release-notes/release-types.html): This SDK is supported for production use cases,
1115
but we do expect future releases to have some interface changes; see [Interface stability](#interface-stability).
1216
We are keen to hear feedback from you on these SDKs. Please [file issues](https://github.com/databricks/databricks-sdk-py/issues), and we will address them.

databricks/sdk/__init__.py

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)