> ## 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.

# Projects

[View source](https://github.com/wandb/wandb/blob/main/wandb/apis/public/projects.py#L56)

## クラス wandb.apis.public.Projects

`Project` オブジェクトの遅延イテレーターです。

entity によって作成・保存された project にアクセスするためのイテラブルなインターフェースです。

```python theme={"system"}
service_api: 'ServiceApi',
entity: 'str',
per_page: 'int' = 50
```

## 引数

**service\_api** `ServiceApi`

W\&B をクエリするのに使用するサービス API。

**entity** `str`

project を所有する entity。

**per\_page** `int`

API へのリクエストごとにフェッチする project の数。

## サンプル

```python theme={"system"}
from wandb.apis.public.api import Api

# この entity に属する project を検索します
projects = Api().projects(entity="entity")

# ファイルを順に処理します
for project in projects:
    print(f"Project: {project.name}")
    print(f"- URL: {project.url}")
    print(f"- Created at: {project.created_at}")
    print(f"- Is benchmark: {project.is_benchmark}")
```

## メソッド

### メソッド RelayPaginator.convert\_objects()

```python theme={"system"}
self
```

最後に取得した応答データを、イテレーションで返すオブジェクトに変換します。

### メソッド Paginator.**next**()

```python theme={"system"}
self
```

イテレーターから次の項目を返します。項目がなくなった場合は StopIteration を送出します。

### メソッド Paginator.update\_variables()

```python theme={"system"}
self
```

次のページを取得するためのクエリ変数を更新します。
