We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description Creating a new job with an access control list leads to an error: TypeError: Object of type AccessControlRequest is not JSON serializable
TypeError: Object of type AccessControlRequest is not JSON serializable
It is probably because there is an ".as_dict()" missing here:
databricks-sdk-py/databricks/sdk/service/jobs.py
Line 2882 in 3bfe1d0
Reproduction Using the method WorkspaceClient().jobs.create() with a list of AccessControlRequest like:
acl = [AccessControlRequest( user_name="funny.user@compa.ny", permission_level=PermissionLevel.CAN_MANAGE )]
Other Information
The text was updated successfully, but these errors were encountered:
Thanks for reporting the issue. We'll take a look.
Sorry, something went wrong.
Hi Julian! Duplicate of #270 😉
I'm closing this as a duplicate of #270.
No branches or pull requests
Description
Creating a new job with an access control list leads to an error:
TypeError: Object of type AccessControlRequest is not JSON serializable
It is probably because there is an ".as_dict()" missing here:
databricks-sdk-py/databricks/sdk/service/jobs.py
Line 2882 in 3bfe1d0
Reproduction
Using the method WorkspaceClient().jobs.create() with a list of AccessControlRequest like:
Other Information
The text was updated successfully, but these errors were encountered: