Skip to content

Conversation

@hectorcast-db
Copy link
Contributor

Internal Changes

  • Fix tests/integration/test_dbutils.py::test_secrets (#884).

API Changes:

  • Added get_message_query_result_by_attachment() method for w.genie workspace-level service.
  • Added id field for databricks.sdk.service.apps.App.
  • Added limit_config field for databricks.sdk.service.billing.UpdateBudgetPolicyRequest.
  • Added volumes field for databricks.sdk.service.compute.ClusterLogConf.
  • Removed review_state, reviews and runner_collaborators fields for databricks.sdk.service.cleanrooms.CleanRoomAssetNotebook.

OpenAPI SHA: 99f644e72261ef5ecf8d74db20f4b7a1e09723cc, Date: 2025-02-11

 * Fix `tests/integration/test_dbutils.py::test_secrets` ([#884](#884)).

 * Added `get_message_query_result_by_attachment()` method for [w.genie](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/genie.html) workspace-level service.
 * Added `id` field for `databricks.sdk.service.apps.App`.
 * Added `limit_config` field for `databricks.sdk.service.billing.UpdateBudgetPolicyRequest`.
 * Added `volumes` field for `databricks.sdk.service.compute.ClusterLogConf`.
 * Removed `review_state`, `reviews` and `runner_collaborators` fields for `databricks.sdk.service.cleanrooms.CleanRoomAssetNotebook`.

OpenAPI SHA: 99f644e72261ef5ecf8d74db20f4b7a1e09723cc, Date: 2025-02-11
@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: 885
  • Commit SHA: 48de46f60251f7229097ebe1494beed98066b11a

Checks will be approved automatically on success.

@hectorcast-db hectorcast-db added this pull request to the merge queue Feb 11, 2025
Merged via the queue into main with commit 3c391a0 Feb 11, 2025
17 of 18 checks passed
@hectorcast-db hectorcast-db deleted the prepare/0.44.0 branch February 11, 2025 15:11
@green2k
Copy link

green2k commented Mar 7, 2025

Type hints now doesn't work in VS Code:

image

It's probably because the databricks.sdk.service module doesn't expose anything.

It's being imported in databbricks/sdk/__init__.py by using import databricks.sdk.service as service and then used like this:

self._credentials = service.catalog.CredentialsAPI(self._api_client)

while the databricks.sdk.service module doesn't expose anything.

Have anybody experienced this error in the VS Code IDE too?
I'm able to reproduce it in different environments with Python, Python Debugger and Pylance VS Code plugins installed.

@hectorcast-db @parthban-db

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.

4 participants