Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.18.0 #515

Merged
merged 2 commits into from
Jan 23, 2024
Merged

Release v0.18.0 #515

merged 2 commits into from
Jan 23, 2024

Conversation

hectorcast-db
Copy link
Contributor

@hectorcast-db hectorcast-db commented Jan 23, 2024

Bugfixes:

  • Fix Databricks OAuth M2M on Azure (#513).

Other noteworthy changes:

  • Use [] instead of None as default list value for deserialising responses (#361).
  • Support dev and staging workspaces (#514).

API Changes:

  • Added exists() method for w.tables workspace-level service.
  • Added w.lakehouse_monitors workspace-level service.
  • Added the following dataclasses:
    databricks.sdk.service.catalog.CreateMonitor,
    databricks.sdk.service.catalog.DeleteLakehouseMonitorRequest,
    databricks.sdk.service.catalog.ExistsRequest,
    databricks.sdk.service.catalog.GetLakehouseMonitorRequest,
    databricks.sdk.service.catalog.MonitorCronSchedule,
    databricks.sdk.service.catalog.MonitorCronSchedulePauseStatus,
    databricks.sdk.service.catalog.MonitorCustomMetric,
    databricks.sdk.service.catalog.MonitorCustomMetricType,
    databricks.sdk.service.catalog.MonitorDataClassificationConfig,
    databricks.sdk.service.catalog.MonitorDestinations,
    databricks.sdk.service.catalog.MonitorInferenceLogProfileType,
    databricks.sdk.service.catalog.MonitorInferenceLogProfileTypeProblemType,
    databricks.sdk.service.catalog.MonitorInfo,
    databricks.sdk.service.catalog.MonitorInfoStatus,
    databricks.sdk.service.catalog.MonitorNotificationsConfig,
    databricks.sdk.service.catalog.MonitorTimeSeriesProfileType,
    databricks.sdk.service.catalog.TableExistsResponse and
    databricks.sdk.service.catalog.UpdateMonitor.
  • Changed create_obo_token() method for w.token_management workspace-level service with new required argument order.
  • Changed get() method for w.token_management workspace-level service to return databricks.sdk.service.settings.GetTokenResponse dataclass.
  • Changed lifetime_seconds field for databricks.sdk.service.settings.CreateOboTokenRequest to no longer be required.
  • Added databricks.sdk.service.settings.GetTokenResponse dataclass.

OpenAPI SHA: e05401ed5dd4974c5333d737ec308a7d451f749f, Date: 2024-01-23

Bugfixes:

* Fix Databricks OAuth M2M on Azure ([#513](#513)).

Other noteworthy changes:

* Use `[]` instead of `None` as default list value for deserialising responses ([#361](#361)).
* Support dev and staging workspaces ([#514](#514)).

API Changes:

 * Added `exists()` method for [w.tables](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/tables.html) workspace-level service.
 * Added [w.lakehouse_monitors](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/lakehouse_monitors.html) workspace-level service.
 * Added `databricks.sdk.service.catalog.CreateMonitor` dataclass.
 * Added `databricks.sdk.service.catalog.DeleteLakehouseMonitorRequest` dataclass.
 * Added `databricks.sdk.service.catalog.ExistsRequest` dataclass.
 * Added `databricks.sdk.service.catalog.GetLakehouseMonitorRequest` dataclass.
 * Added `databricks.sdk.service.catalog.MonitorCronSchedule` dataclass.
 * Added `databricks.sdk.service.catalog.MonitorCronSchedulePauseStatus` dataclass.
 * Added `databricks.sdk.service.catalog.MonitorCustomMetric` dataclass.
 * Added `databricks.sdk.service.catalog.MonitorCustomMetricType` dataclass.
 * Added `databricks.sdk.service.catalog.MonitorDataClassificationConfig` dataclass.
 * Added `databricks.sdk.service.catalog.MonitorDestinations` dataclass.
 * Added `databricks.sdk.service.catalog.MonitorInferenceLogProfileType` dataclass.
 * Added `databricks.sdk.service.catalog.MonitorInferenceLogProfileTypeProblemType` dataclass.
 * Added `databricks.sdk.service.catalog.MonitorInfo` dataclass.
 * Added `databricks.sdk.service.catalog.MonitorInfoStatus` dataclass.
 * Added `databricks.sdk.service.catalog.MonitorNotificationsConfig` dataclass.
 * Added `databricks.sdk.service.catalog.MonitorTimeSeriesProfileType` dataclass.
 * Added `databricks.sdk.service.catalog.TableExistsResponse` dataclass.
 * Added `databricks.sdk.service.catalog.UpdateMonitor` dataclass.
 * Changed `create_obo_token()` method for [w.token_management](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/token_management.html) workspace-level service with new required argument order.
 * Changed `get()` method for [w.token_management](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/token_management.html) workspace-level service to return `databricks.sdk.service.settings.GetTokenResponse` dataclass.
 * Changed `lifetime_seconds` field for `databricks.sdk.service.settings.CreateOboTokenRequest` to no longer be required.
 * Added `databricks.sdk.service.settings.GetTokenResponse` dataclass.

OpenAPI SHA: e05401ed5dd4974c5333d737ec308a7d451f749f, Date: 2024-01-23
@codecov-commenter
Copy link

codecov-commenter commented Jan 23, 2024

Codecov Report

Attention: 155 lines in your changes are missing coverage. Please review.

Comparison is base (f0b23a5) 57.77% compared to head (da7f09f) 57.79%.

Files Patch % Lines
databricks/sdk/service/catalog.py 58.77% 148 Missing ⚠️
databricks/sdk/service/settings.py 64.70% 6 Missing ⚠️
databricks/sdk/__init__.py 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #515      +/-   ##
==========================================
+ Coverage   57.77%   57.79%   +0.01%     
==========================================
  Files          43       43              
  Lines       27222    27596     +374     
==========================================
+ Hits        15728    15949     +221     
- Misses      11494    11647     +153     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

CHANGELOG.md Outdated Show resolved Hide resolved
@hectorcast-db hectorcast-db added this pull request to the merge queue Jan 23, 2024
Merged via the queue into main with commit e37de2c Jan 23, 2024
9 checks passed
@hectorcast-db hectorcast-db deleted the prepare/0.18.0 branch January 23, 2024 13:27
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.

3 participants