Open Dhanunjaya-Elluri opened 10 months ago
Thanks for raising this issue! We don't really exercise the .as_dict()
method on response objects, as we are typically only deserializing them and not serializing them. We should be able to fix this in generated code.
I am facing the same issue, it would be great if this could be adressed! 😊
In the below code, I created a webhook, with the events I'm interested in while creating. However, when I try to list the webhooks, the following error occurs:
code snippet
Error:
My interpretation is that the events are registered as strings rather than enums.
Fix: databricks-sdk-py/databricks/sdk/service /ml.py
Line 1600
This works for me. Please fix this issue :)
Additional Information:
Python version: 3.10 Databricks SDK version: databricks-sdk==0.6.0