Project
Object-centric interface for Galileo projects. This class provides an intuitive way to work with Galileo projects, encapsulating project management operations and providing seamless integration with log stream management. Examplesadd_collaborator
user_id: The ID of the user to add as a collaborator.role: The role to assign. One of CollaboratorRole.OWNER, EDITOR, VIEWER, or ANNOTATOR. Defaults to VIEWER.
collaborators
create
create_log_stream
name(str): The name of the log stream to create.
datasets
delete
experiments
get
id(Optional[str]): The project ID.name(Optional[str]): The project name.
list
list_collaborators
list_datasets
list_experiments
list_log_streams
starting_token (from
next_starting_token on a prior response) to fetch subsequent pages.
Arguments
limit(Union[Unset, int]): Maximum number of log streams to return per page. Defaults to 100.starting_token(Union[Unset, int]): Pagination token to start from. Defaults to 0 (first page).
list_prompts
logstreams
prompts
refresh
remove_collaborator
user_id: The ID of the user to remove.
save
ProjectUpdate also supports description, labels, and created_by,
but these are not exposed as tracked attributes on the domain object because the
read endpoints (get/list) do not return them consistently. created_by is
server-managed.
If the project is in FAILED_SYNC state (from a prior failed operation), this
method raises ValueError. Call :meth:refresh first to re-sync, then retry.
Examples
update_collaborator
user_id: The ID of the user whose role to update.role: The new role to assign. One of CollaboratorRole.OWNER, EDITOR, VIEWER, or ANNOTATOR.