> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Team

export const GitHubLink = ({url, compact = false}) => <a href={url} target="_blank" rel="noopener noreferrer" className={compact ? "source-link" : "github-source-link"}>
    {compact ? "View source" : <>
    <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
      <path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z" />
    </svg>
    GitHub source
      </>}
  </a>;

<GitHubLink compact url="https://github.com/wandb/wandb/blob/main/wandb/apis/public/teams.py#L61" />

<h2 id="class-wandbapispublicteam">
  <Badge color="yellow" size="lg" shape="rounded">클래스</Badge> wandb.apis.public.Team
</h2>

W\&B 팀을 나타내는 클래스입니다.

이 클래스는 팀 생성, 구성원 초대, 서비스 계정 관리 등 W\&B 팀을 관리하는 메서드를
제공합니다. 팀 속성을 처리하기 위해 Attrs를
상속합니다.

```python theme={"system"}
(service_api: 'ServiceApi',
name: 'str',
attrs: 'Mapping[str, Any] | None' = None)
```

<h2 id="args">
  인수
</h2>

<ResponseField name="service_api" type="ServiceApi">
  W\&B를 쿼리하는 데 사용할 서비스 API 인스턴스입니다.
</ResponseField>

<ResponseField name="name" type="str">
  팀의 이름
</ResponseField>

<ResponseField name="attrs" type="Mapping[str, Any] | None">
  팀 속성 딕셔너리(선택 사항)
</ResponseField>

<h2 id="examples">
  예시
</h2>

팀을 조회하고 구성원을 초대하세요.

```python theme={"system"}
import wandb

api = wandb.Api()
team = api.team("my-team")
team.invite("user@example.com")
```

팀을 만들고 서비스 계정을 추가하세요.

```python theme={"system"}
import wandb

api = wandb.Api()
team = api.create_team("my-team")
team.create_service_account("CI service account")
```

<h2 id="methods">
  메서드
</h2>

<h3 id="method-teamcreate">
  <Badge color="blue" size="lg" shape="rounded">방법</Badge> Team.create()
</h3>

```python theme={"system"}
api: 'Api',
team: 'str',
admin_username: 'str | None' = None
```

새 팀을 생성합니다.

<h5 id="arguments">
  인수
</h5>

<ResponseField name="api" type="Api">
  (`Api`) 사용할 api 인스턴스
</ResponseField>

<ResponseField name="team" type="str">
  (str) 팀 이름
</ResponseField>

<ResponseField name="admin_username" type="str | None">
  (str) 팀 Admin 사용자의 선택 사용자 이름이며, 현재 사용자로 기본 설정됩니다.
</ResponseField>

<h3 id="method-teamcreate_service_account">
  <Badge color="blue" size="lg" shape="rounded">방법</Badge> Team.create\_service\_account()
</h3>

```python theme={"system"}
self,
description: 'str'
```

팀의 서비스 계정을 생성합니다.

<h5 id="arguments-2">
  인수
</h5>

<ResponseField name="description" type="str">
  (str) 이 서비스 계정에 대한 설명
</ResponseField>

<h3 id="method-teaminvite">
  <Badge color="blue" size="lg" shape="rounded">방법</Badge> Team.invite()
</h3>

```python theme={"system"}
self,
username_or_email: 'str',
admin: 'bool' = False
```

사용자를 팀에 초대합니다.

<h5 id="arguments-3">
  인수
</h5>

<ResponseField name="username_or_email" type="str">
  (str) 초대할 사용자의 사용자 이름 또는 이메일 주소입니다.
</ResponseField>

<ResponseField name="admin" type="bool">
  (bool) 이 사용자를 팀 Admin으로 지정할지 여부입니다. 기본값은 `False`입니다.
</ResponseField>
