메인 콘텐츠로 건너뛰기
GitHub 소스

class BetaReport

BetaReport는 W&B에서 생성된 리포트와 관련된 클래스입니다. 리포트 속성(이름, 설명, 사용자, spec, 타임스탬프)에 접근하고, 관련 run과 섹션을 조회하며, 리포트를 HTML로 렌더링하는 메서드를 제공합니다. Attributes:
  • id (string): 리포트의 고유 식별자입니다.
  • display_name (string): 리포트의 사람이 읽기 쉬운 표시용 이름입니다.
  • name (string): 리포트의 이름입니다. 더 사용자 친화적인 이름에는 display_name을 사용하세요.
  • description (string): 리포트에 대한 설명입니다.
  • user (User): 리포트를 생성한 사용자의 정보(사용자명, 이메일)를 포함하는 사전입니다.
  • spec (dict): 리포트의 spec입니다.
  • url (string): 리포트의 URL입니다.
  • updated_at (string): 마지막으로 업데이트된 시점의 타임스탬프입니다.
  • created_at (string): 리포트가 생성된 시점의 타임스탬프입니다.

메서드 BetaReport.__init__

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

property 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


속성 BetaReport.url


property BetaReport.user


method BetaReport.runs

runs(
    section: 'dict[str, Any]',
    per_page: 'int' = 50,
    only_selected: 'bool' = True
) → public.Runs
리포트의 특정 섹션과 연관된 runs를 가져옵니다.

메서드 BetaReport.to_html

to_html(height: 'int' = 1024, hidden: 'bool' = False) → str
이 리포트를 표시하는 iframe을 포함한 HTML을 생성합니다.