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

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

Open
charlie745 opened this issue Jun 17, 2024 · 0 comments

Comments

@charlie745
Copy link

Description
Property "notify_on_ok" 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

  • OS: [e.g. macOS]
  • Version: [e.g. 0.1.0]

Additional context
Add any other context about the problem here.

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

No branches or pull requests

1 participant