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
When in a defined function and specific authentication method using WorkspaceClient, the function users.create, throws the error (UsersAPI.create() missing 1 required positional argument: 'id')
Expected behavior
The user should be created correctly.
Is it a regression?
Im using version of the SDK: databricks-sdk-0.20.0
It's curious that using the same code without the defined function works fine, as shown below:
Description
When in a defined function and specific authentication method using WorkspaceClient, the function users.create, throws the error (UsersAPI.create() missing 1 required positional argument: 'id')
Reproduction
This is a example of the function:
Expected behavior
The user should be created correctly.
Is it a regression?
Im using version of the SDK: databricks-sdk-0.20.0
It's curious that using the same code without the defined function works fine, as shown below:
However, within the defined function, it fails with the error "UsersAPI.create() missing 1 required positional argument: 'id'".
Debug Logs
UsersAPI.create() missing 1 required positional argument: 'id'
The text was updated successfully, but these errors were encountered: