Skip to content

Commit 93bac02

Browse files
authored
Merge branch 'databricks:main' into main
2 parents 3310c5a + 9801660 commit 93bac02

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+2837
-1687
lines changed

.codegen/_openapi_sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
cf9c61453990df0f9453670f2fe68e1b128647a2
1+
f2385add116e3716c8a90a0b68e204deb40f996c

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,28 @@
1-
## Changes
2-
<!-- Summary of your changes that are easy to understand -->
1+
## What changes are proposed in this pull request?
32

4-
## Tests
5-
<!--
6-
How is this tested? Please see the checklist below and also describe any other relevant tests
7-
-->
3+
Provide the readers and reviewers with the information they need to understand
4+
this PR in a comprehensive manner.
85

9-
- [ ] `make test` run locally
10-
- [ ] `make fmt` applied
11-
- [ ] relevant integration tests applied
6+
Specifically, try to answer the two following questions:
127

8+
- **WHAT** changes are being made in the PR? This should be a summary of the
9+
major changes to allow the reader to quickly understand the PR without having
10+
to look at the code.
11+
- **WHY** are these changes needed? This should provide the context that the
12+
reader might be missing. For example, were there any decisions behind the
13+
change that are not reflected in the code itself?
14+
15+
The “why part” is the most important of the two as it usually cannot be
16+
inferred from the code itself. A well-written PR description will help future
17+
developers (including your future self) to know how to interact and update your
18+
code.
19+
20+
## How is this tested?
21+
22+
Describe any tests you have done; especially if test tests are not part of
23+
the unit tests (e.g. local tests).
24+
25+
**ALWAYS ANSWER THIS QUESTION:** Answer with "N/A" if tests are not applicable
26+
to your PR (e.g. if the PR only modifies comments). Do not be afraid of
27+
answering "Not tested" if the PR has not been tested. Being clear about what
28+
has been done and not done provides important context to the reviewers.

CHANGELOG.md

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

3+
## [Release] Release v0.38.0
4+
5+
### New Features and Improvements
6+
7+
* Read streams by 1MB chunks by default. ([#817](https://github.com/databricks/databricks-sdk-py/pull/817)).
8+
9+
### Bug Fixes
10+
11+
* Rewind seekable streams before retrying ([#821](https://github.com/databricks/databricks-sdk-py/pull/821)).
12+
* Properly serialize nested data classes.
13+
14+
### Internal Changes
15+
16+
* Reformat SDK with YAPF 0.43. ([#822](https://github.com/databricks/databricks-sdk-py/pull/822)).
17+
* Update Jobs GetRun API to support paginated responses for jobs and ForEach tasks ([#819](https://github.com/databricks/databricks-sdk-py/pull/819)).
18+
19+
### API Changes:
20+
21+
* Added `service_principal_client_id` field for `databricks.sdk.service.apps.App`.
22+
* Added `azure_service_principal`, `gcp_service_account_key` and `read_only` fields for `databricks.sdk.service.catalog.CreateCredentialRequest`.
23+
* Added `azure_service_principal`, `read_only` and `used_for_managed_storage` fields for `databricks.sdk.service.catalog.CredentialInfo`.
24+
* Added `omit_username` field for `databricks.sdk.service.catalog.ListTablesRequest`.
25+
* Added `azure_service_principal` and `read_only` fields for `databricks.sdk.service.catalog.UpdateCredentialRequest`.
26+
* Added `external_location_name`, `read_only` and `url` fields for `databricks.sdk.service.catalog.ValidateCredentialRequest`.
27+
* Added `is_dir` field for `databricks.sdk.service.catalog.ValidateCredentialResponse`.
28+
* Added `only` field for `databricks.sdk.service.jobs.RunNow`.
29+
* Added `restart_window` field for `databricks.sdk.service.pipelines.CreatePipeline`.
30+
* Added `restart_window` field for `databricks.sdk.service.pipelines.EditPipeline`.
31+
* Added `restart_window` field for `databricks.sdk.service.pipelines.PipelineSpec`.
32+
* Added `private_access_settings_id` field for `databricks.sdk.service.provisioning.UpdateWorkspaceRequest`.
33+
* Changed `create_credential()` and `generate_temporary_service_credential()` methods for [w.credentials](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/credentials.html) workspace-level service with new required argument order.
34+
* Changed `access_connector_id` field for `databricks.sdk.service.catalog.AzureManagedIdentity` to be required.
35+
* Changed `access_connector_id` field for `databricks.sdk.service.catalog.AzureManagedIdentity` to be required.
36+
* Changed `name` field for `databricks.sdk.service.catalog.CreateCredentialRequest` to be required.
37+
* Changed `credential_name` field for `databricks.sdk.service.catalog.GenerateTemporaryServiceCredentialRequest` to be required.
38+
39+
OpenAPI SHA: f2385add116e3716c8a90a0b68e204deb40f996c, Date: 2024-11-15
40+
41+
## [Release] Release v0.37.0
42+
43+
### Bug Fixes
44+
45+
* Correctly generate classes with nested body fields ([#808](https://github.com/databricks/databricks-sdk-py/pull/808)).
46+
47+
48+
### Internal Changes
49+
50+
* Add `cleanrooms` package ([#806](https://github.com/databricks/databricks-sdk-py/pull/806)).
51+
* Add test instructions for external contributors ([#804](https://github.com/databricks/databricks-sdk-py/pull/804)).
52+
* Always write message for manual test execution ([#811](https://github.com/databricks/databricks-sdk-py/pull/811)).
53+
* Automatically trigger integration tests on PR ([#800](https://github.com/databricks/databricks-sdk-py/pull/800)).
54+
* Better isolate ML serving auth unit tests ([#803](https://github.com/databricks/databricks-sdk-py/pull/803)).
55+
* Move templates in the code generator ([#809](https://github.com/databricks/databricks-sdk-py/pull/809)).
56+
57+
58+
### API Changes:
59+
60+
* Added [w.aibi_dashboard_embedding_access_policy](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings/aibi_dashboard_embedding_access_policy.html) workspace-level service and [w.aibi_dashboard_embedding_approved_domains](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings/aibi_dashboard_embedding_approved_domains.html) workspace-level service.
61+
* Added [w.credentials](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/credentials.html) workspace-level service.
62+
* Added `app_deployment` field for `databricks.sdk.service.apps.CreateAppDeploymentRequest`.
63+
* Added `app` field for `databricks.sdk.service.apps.CreateAppRequest`.
64+
* Added `app` field for `databricks.sdk.service.apps.UpdateAppRequest`.
65+
* Added `table` field for `databricks.sdk.service.catalog.CreateOnlineTableRequest`.
66+
* Added `azure_aad` field for `databricks.sdk.service.catalog.GenerateTemporaryTableCredentialResponse`.
67+
* Added `full_name` field for `databricks.sdk.service.catalog.StorageCredentialInfo`.
68+
* Added `dashboard` field for `databricks.sdk.service.dashboards.CreateDashboardRequest`.
69+
* Added `schedule` field for `databricks.sdk.service.dashboards.CreateScheduleRequest`.
70+
* Added `subscription` field for `databricks.sdk.service.dashboards.CreateSubscriptionRequest`.
71+
* Added `warehouse_id` field for `databricks.sdk.service.dashboards.Schedule`.
72+
* Added `dashboard` field for `databricks.sdk.service.dashboards.UpdateDashboardRequest`.
73+
* Added `schedule` field for `databricks.sdk.service.dashboards.UpdateScheduleRequest`.
74+
* Added `page_token` field for `databricks.sdk.service.oauth2.ListServicePrincipalSecretsRequest`.
75+
* Added `next_page_token` field for `databricks.sdk.service.oauth2.ListServicePrincipalSecretsResponse`.
76+
* Added `connection_name` field for `databricks.sdk.service.pipelines.IngestionGatewayPipelineDefinition`.
77+
* Added `is_no_public_ip_enabled` field for `databricks.sdk.service.provisioning.CreateWorkspaceRequest`.
78+
* Added `external_customer_info` and `is_no_public_ip_enabled` fields for `databricks.sdk.service.provisioning.Workspace`.
79+
* Added `last_used_day` field for `databricks.sdk.service.settings.TokenInfo`.
80+
* Changed `create()` method for [w.apps](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/apps.html) workspace-level service with new required argument order.
81+
* Changed `execute_message_query()` method for [w.genie](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/genie.html) workspace-level service . New request type is `databricks.sdk.service.dashboards.GenieExecuteMessageQueryRequest` dataclass.
82+
* Changed `execute_message_query()` method for [w.genie](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/genie.html) workspace-level service to type `execute_message_query()` method for [w.genie](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/genie.html) workspace-level service.
83+
* Changed `create()`, `create_schedule()`, `create_subscription()` and `update_schedule()` methods for [w.lakeview](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/lakeview.html) workspace-level service with new required argument order.
84+
* Removed [w.clean_rooms](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/clean_rooms.html) workspace-level service.
85+
* Removed `deployment_id`, `mode` and `source_code_path` fields for `databricks.sdk.service.apps.CreateAppDeploymentRequest`.
86+
* Removed `description`, `name` and `resources` fields for `databricks.sdk.service.apps.CreateAppRequest`.
87+
* Removed `description` and `resources` fields for `databricks.sdk.service.apps.UpdateAppRequest`.
88+
* Removed `name` and `spec` fields for `databricks.sdk.service.catalog.CreateOnlineTableRequest`.
89+
* Removed `display_name`, `parent_path`, `serialized_dashboard` and `warehouse_id` fields for `databricks.sdk.service.dashboards.CreateDashboardRequest`.
90+
* Removed `cron_schedule`, `display_name` and `pause_status` fields for `databricks.sdk.service.dashboards.CreateScheduleRequest`.
91+
* Removed `subscriber` field for `databricks.sdk.service.dashboards.CreateSubscriptionRequest`.
92+
* Removed `display_name`, `etag`, `serialized_dashboard` and `warehouse_id` fields for `databricks.sdk.service.dashboards.UpdateDashboardRequest`.
93+
* Removed `cron_schedule`, `display_name`, `etag` and `pause_status` fields for `databricks.sdk.service.dashboards.UpdateScheduleRequest`.
94+
* Removed `prev_page_token` field for `databricks.sdk.service.jobs.Run`.
95+
96+
OpenAPI SHA: 5285ce76f81314f342c1702d5c2ad4ef42488781, Date: 2024-11-04
97+
398
## [Release] Release v0.36.0
499

5100
### Breaking Changes

databricks/sdk/__init__.py

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

0 commit comments

Comments
 (0)