メインコンテンツへスキップ

class Sweeps

Sweep オブジェクトのコレクションを遅延的に走査するイテレータです。 例:
from wandb.apis.public import Api

sweeps = Api().project(name="project_name", entity="entity").sweeps()

# sweepを反復処理して詳細を表示する
for sweep in sweeps:
     print(f"Sweep name: {sweep.name}")
     print(f"Sweep ID: {sweep.id}")
     print(f"Sweep URL: {sweep.url}")
     print("----------")

method Sweeps.__init__

__init__(
    client: 'RetryingClient',
    entity: 'str',
    project: 'str',
    per_page: 'int' = 50
) → Sweeps
Sweep オブジェクトの反復可能なコレクションです。 引数:
  • client: W&B のクエリに使用する API クライアント。
  • entity: sweep を所有する entity。
  • project: sweep を含むプロジェクト。
  • per_page: API へのリクエストごとに取得する sweep の数。

プロパティ Sweeps.length