databricks / databricks-sdk-py

Databricks SDK for Python (Beta)
https://databricks-sdk-py.readthedocs.io/
Apache License 2.0
318 stars 103 forks source link

ALERTS: Property "notify_on_ok" is missing from class databricks.sdk.service.sql.AlertOptions #682

Open charlie745 opened 3 weeks ago

charlie745 commented 3 weeks ago

Description Property "notify_onok" is missing from class databricks.sdk.service.sql.AlertOptions. This property should exist in this class as it drives the option to send or not to send a notification **"when alert gets back to normal"_**, which is available through the workspace GUI for Alert creation/update: image

Reproduction Try to find a way to update notify_on_ok using the Python SDK. It is possible to do so using REST API call (Python SDK should match this functionality): image

Expected behavior It should be possible to update the notify_on_ok property for an alert using the Python SDK.

Is it a regression? Did this work in a previous version of the SDK? If so, which versions did you try? Not sure about that, we do not think so.

Debug Logs The SDK logs helpful debugging information when debug logging is enabled. Set the log level to debug by adding logging.basicConfig(level=logging.DEBUG) to your program, and include the logs here. image

Other Information

Additional context Add any other context about the problem here.