Skip to content

Can't list studies in a project as expected with new Vertex AI Vizier Study class in version 1.16.1 #1580

@jasonbrancazio

Description

@jasonbrancazio

Because my Jupyter notebook (Vertex AI Workbench, user-managed) displayed list when I used the tab key after a period to inspect methods of the Study class, I naively expected Study.list() to list all Vizier studies in a project, but it hits an error:

from google.cloud import aiplatform
from google.cloud.aiplatform.vizier import Study
aiplatform.init(project='MY-PROJECT',location='us-central1')
Study.list()

The error I receive is ValueError: Unknown field for ListStudiesRequest: filter

The list() method is apparently being inherited from the base.VertexAiResourceNounWithFutureManager class.

The Study class refers to a _list_method, but it doesn't seem to be implemented implemented.

Metadata

Metadata

Assignees

Labels

api: vertex-aiIssues related to the googleapis/python-aiplatform API.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions