Skip to main content

Documentation Index

Fetch the complete documentation index at: https://wb-21fd5541-python-sdk-testing.mintlify.app/llms.txt

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

Description

A lazy iterator of Project objects. An iterable interface to access projects created and saved by the entity.

Examples:

from wandb.apis.public.api import Api

# Find projects that belong to this entity
projects = Api().projects(entity="entity")

# Iterate over files
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}")

Args:

  • client: The API client instance to use.
  • entity: The entity name (username or team) to fetch projects for.
  • per_page: Number of projects to fetch per request (default is 50).

Methods:

next

Return the next item from the iterator. When exhausted, raise StopIteration

update_variables

Update the query variables for the next page fetch.