docstr: Create a new user.
  
  Arguments:
      api: (`Api`) The api instance to use
      email: (str) The name of the team
      admin: (bool) Whether this user should be a global instance admin
  
  Returns:
      A `User` object
docstr_tok: ["Create","a","new","user",".","Arguments",":","api",":","(","`","Api","`",")","The","api","instance","to","use","email",":","(","str",")","The","name","of","the","team","admin",":","(","bool",")","Whether","this","user","should","be","a","global","instance","admin","Returns",":","A","`","User","`","object"]
code: def create(cls, api, email, admin=False):
      """Create a new user.
  
      Arguments:
          api: (`Api`) The api instance to use
          email: (str) The name of the team
          admin: (bool) Whether this user should be a global instance admin
  
      Returns:
          A `User` object
      """
      res = api.client.execute(
          cls.CREATE_USER_MUTATION,
          {"email": email, "admin": admin},
      )
      return User(api.client, res["createUser"]["user"])
  
file_path: wandb/wandb/apis/public/users.py
imports: import requests
  from wandb_gql import gql
  import wandb
  from wandb.apis.attrs import Attrs
label_desc: Use image node_id 3 for calling the User obj's underlying member method code with example usage: obj.create(cls, api, email, admin) and returns: User