code: def create(self, username: str, global_role: GlobalRole) -> User:
      body = CreateUserRequest(
          username=username, global_role=global_role
      )
      resp = self._request("/api/users/create", body=body.json())
      return parse_obj_as(User, resp.json())
  
file_path: dstack/src/dstack/api/server/_users.py
imports: from typing import List
  from pydantic import parse_obj_as
  from dstack._internal.core.models.users import GlobalRole, User, UserWithCreds
  from dstack._internal.server.schemas.users import CreateUserRequest, GetUserRequest, RefreshTokenRequest, UpdateUserRequest
  from dstack.api.server._group import APIClientGroup
label_desc: Use image node_id 4 for calling the UsersAPIClient obj's underlying member method code with example usage: obj.create(username, global_role) and returns: parse_obj_as