databricks-sdk-java icon indicating copy to clipboard operation
databricks-sdk-java copied to clipboard

[ISSUE] Group members list returns null if no members are found in a scope

Open shkelzeen opened this issue 1 year ago • 0 comments

Description While using SDK getting groups or a group and trying to access members if there aren't any members assigned into this group.

Reproduction

  1. Create a WorkspaceClient
  2. Group group=workspaceClient.get().groups().get("group_id");
  3. group.getMembers();

Expected behavior The expected behavior here would be an empty list so you can add members if needed.

Additional context Add any other context about the problem here.

shkelzeen avatar Jan 23 '24 15:01 shkelzeen