메인 콘텐츠로 건너뛰기

Documentation Index

Fetch the complete documentation index at: https://translations.mintlify.app/llms.txt

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

GitHub 소스 코드

class Projects

Project 객체에 대한 지연 이터레이터입니다. 엔터티가 생성하고 저장한 프로젝트에 접근하기 위한 반복 가능한 인터페이스입니다.

method Projects.__init__

__init__(
    client: 'RetryingClient',
    entity: 'str',
    per_page: 'int' = 50
) → Projects
인자:
  • client (wandb.apis.internal.Api): 사용할 API 클라이언트 인스턴스입니다.
  • entity (str): 프로젝트를 가져올 엔터티의 이름(사용자 이름 또는 팀 이름)입니다.
  • per_page (int): 요청당 가져올 프로젝트 개수(기본값은 50)입니다.
예시:
from wandb.apis.public.api import Api

# 이 엔터티에 속한 프로젝트 찾기
projects = Api().projects(entity="entity")

# 프로젝트 순회
for project in projects:
    print(f"Project: {project.name}")
    print(f"- URL: {project.url}")
    print(f"- Created at: {project.created_at}")
    print(f"- Is benchmark: {project.is_benchmark}")
Project 객체의 반복 가능한 컬렉션입니다. Args:
  • client: W&B에 질의하는 데 사용되는 API 클라이언트입니다.
  • entity: 프로젝트를 소유하는 엔터티입니다.
  • per_page: API에 대한 각 요청마다 가져올 프로젝트 수입니다.

property Projects.cursor


property Projects.more