메인 콘텐츠로 건너뛰기

Documentation Index

Fetch the complete documentation index at: https://wb-21fd5541-docs-2658.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

class Sweeps

Sweep 객체 컬렉션을 순회하는 lazy 이터레이터입니다. 예시:
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("----------")

방법 Sweeps.__init__

__init__(
    client: 'RetryingClient',
    entity: 'str',
    project: 'str',
    per_page: 'int' = 50,
    service_api: 'ServiceApi'
) → Sweeps
반복 가능한 Sweep 객체 컬렉션입니다. 매개변수:
  • client: API 호환성을 위해 유지되는 레거시 GraphQL 클라이언트입니다.
  • service_api: 이 컬렉션에 대해 W&B API Call을 수행하는 wandb-core 서비스 인터페이스입니다.
  • entity: 스윕을 소유한 entity입니다.
  • project: 스윕이 포함된 프로젝트입니다.
  • per_page: API에 대한 각 요청마다 가져올 스윕 수입니다.

속성 Sweeps.length