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

class Project

Project は Runs のネームスペースです。

method Project.__init__

__init__(
    client: 'RetryingClient',
    entity: 'str',
    project: 'str',
    attrs: 'Mapping[str, Any]'
) → Project
Args:
  • client: W&B API クライアントのインスタンス。
  • name (str): プロジェクト名。
  • entity (str): プロジェクトを所有する Entity 名。
Entity に関連付けられた単一のプロジェクト。 Args:
  • client: W&B へのクエリに使用される API クライアント。
  • entity: プロジェクトを所有する Entity。
  • project: クエリ対象のプロジェクト名。
  • attrs: プロジェクトの属性。

property Project.id


property Project.path

プロジェクトのパスを返します。パスは Entity とプロジェクト名を含むリストです。 Returns:
  • list[str]: path プロパティの値。

property Project.url

プロジェクトの URL を返します。 Returns:
  • str: url プロパティの値。

method Project.artifacts_types

artifacts_types(per_page: 'int' = 50) → public.ArtifactTypes
このプロジェクトに関連付けられているすべての Artifacts タイプを返します。

method Project.sweeps

sweeps(per_page: 'int' = 50) → Sweeps
このプロジェクト内の Sweeps のページネーションされたコレクションを返します。 Args:
  • per_page: API へのリクエストごとに取得する Sweeps の数。
Returns: Sweeps オブジェクト。これは Sweep オブジェクトの反復可能なコレクションです。