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

class BetaReport

BetaReport は、W&B で作成されたレポートに対応するクラスです。 レポートの属性(name、description、user、spec、timestamps)へのアクセスや、関連する run やセクションの取得、レポートを HTML としてレンダリングするためのメソッドを提供します。 Attributes:
  • id (string): レポートの一意な識別子。
  • display_name (string): レポートの人間が読める表示名。
  • name (string): レポート名。よりユーザーにわかりやすい名前には display_name を使用します。
  • description (string): レポートの説明。
  • user (User): レポートを作成したユーザー情報(username、email)を含む辞書。
  • spec (dict): レポートの spec。
  • url (string): レポートの URL。
  • updated_at (string): 最終更新時刻のタイムスタンプ。
  • created_at (string): レポート作成時のタイムスタンプ。

method BetaReport.__init__

__init__(
    client: 'RetryingClient',
    attrs: 'dict',
    entity: 'str | None' = None,
    project: 'str | None' = None
)

プロパティ BetaReport.created_at


property BetaReport.description


property BetaReport.display_name


property BetaReport.id


property BetaReport.name


property BetaReport.sections

レポートからパネルセクション(グループ)を取得します。

property BetaReport.spec


property BetaReport.updated_at


property BetaReport.url


property BetaReport.user


メソッド BetaReport.runs

runs(
    section: 'dict[str, Any]',
    per_page: 'int' = 50,
    only_selected: 'bool' = True
) → public.Runs
レポート内のセクションに関連付けられたrunを取得します。

method BetaReport.to_html

to_html(height: 'int' = 1024, hidden: 'bool' = False) → str
このレポートを表示する iframe を埋め込んだ HTML を生成します。