Open Katherin07 opened 5 months ago
UsersAPI.create()
doesn't have any required positional arguments, and id
is optional.
Can you share the full script, where you call create_user_workspace()
? Can you also share the exact exception and stack trace?
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'