メインコンテンツへスキップ
GitHub ソース

class Sweeps

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

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

# スイープを反復処理して詳細を表示する
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: Sweeps を所有するエンティティ。
  • project: Sweeps を含むプロジェクト。
  • per_page: API への 1 回のリクエストで取得する Sweeps の数。

property Sweeps.length