docstr: Create a new team.
  
  Arguments:
      api: (`Api`) The api instance to use
      team: (str) The name of the team
      admin_username: (str) optional username of the admin user of the team, defaults to the current user.
  
  Returns:
      A `Team` object
docstr_tok: ["Create","a","new","team",".","Arguments",":","api",":","(","`","Api","`",")","The","api","instance","to","use","team",":","(","str",")","The","name","of","the","team","admin_username",":","(","str",")","optional","username","of","the","admin","user","of","the","team",",","defaults","to","the","current","user",".","Returns",":","A","`","Team","`","object"]
code: def create(cls, api, team, admin_username=None):
      """Create a new team.
  
      Arguments:
          api: (`Api`) The api instance to use
          team: (str) The name of the team
          admin_username: (str) optional username of the admin user of the team, defaults to the current user.
  
      Returns:
          A `Team` object
      """
      try:
          api.client.execute(
              cls.CREATE_TEAM_MUTATION,
              {"teamName": team, "teamAdminUserName": admin_username},
          )
      except requests.exceptions.HTTPError:
          pass
      return Team(api.client, team)
  
file_path: wandb/wandb/apis/public/teams.py
imports: import requests
  from wandb_gql import gql
  from wandb.apis.attrs import Attrs
label_desc: Use image node_id 2 for calling the Team obj's underlying member method code with example usage: obj.create(cls, api, team, admin_username) and returns: Team