You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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):
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.
Other Information
OS: [e.g. macOS]
Version: [e.g. 0.1.0]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Description
![image](https://private-user-images.githubusercontent.com/18473025/340387617-f23429bd-92da-4cf5-a825-0255b998b486.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1NzYzNTQsIm5iZiI6MTcyMDU3NjA1NCwicGF0aCI6Ii8xODQ3MzAyNS8zNDAzODc2MTctZjIzNDI5YmQtOTJkYS00Y2Y1LWE4MjUtMDI1NWI5OThiNDg2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzEwVDAxNDczNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg3NGQ5NDZiMDJmODc2ZWMxZmFlYzdlMWI2MjQ2ZDNmYzhiYzNmMDNmOGNjM2NmZWY0MzQ5MGVjNDQ2M2ExMzkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.jivFU4MImDWCCo7DSxXrmPXoDBEU1YHwI_qWXB2B0gE)
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:
Reproduction
![image](https://private-user-images.githubusercontent.com/18473025/340388777-ce1838ad-006d-4dba-b271-7b785e1a4f6b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1NzYzNTQsIm5iZiI6MTcyMDU3NjA1NCwicGF0aCI6Ii8xODQ3MzAyNS8zNDAzODg3NzctY2UxODM4YWQtMDA2ZC00ZGJhLWIyNzEtN2I3ODVlMWE0ZjZiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzEwVDAxNDczNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZiNTMzNmFkMmUxY2IxZjVjYjg5NGVkNTQ5NWViYTNmOTVkMDMxM2NjNTA3ODAxMWExMzAxODcwM2U1NGI5MzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.1Nxzj7Q-zsbUhqDCL-FYxJAHOAk6cKmNrLsm-zzmkeM)
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):
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
![image](https://private-user-images.githubusercontent.com/18473025/340389615-c2e974e1-39af-4dab-a714-836ca486e99a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1NzYzNTQsIm5iZiI6MTcyMDU3NjA1NCwicGF0aCI6Ii8xODQ3MzAyNS8zNDAzODk2MTUtYzJlOTc0ZTEtMzlhZi00ZGFiLWE3MTQtODM2Y2E0ODZlOTlhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzEwVDAxNDczNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZiODQwNzNlZmQ0N2QzODdmOWQ0MTRjMWRkOGM4ZWNiN2JlYjAwOWU5YWRkYzFiN2FjMjA3ZjAwNDY4NzYyMTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Dobax6tm-N7TJpuuYfgH9vgJhTN-1N6n_3trShIkelk)
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.Other Information
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: