Closed pbalm closed 1 year ago
I've fixed this to require the model resource name in https://github.com/googleapis/python-aiplatform/pull/2364, it will go out with our next release.
In the meantime, you can do either:
aip.ModelEvaluation.list(parent="projects/{}/locations/{}/models/{}")
or
my_model = aip.Model("projects/{}/locations/{}/models/{}")
my_model.list_model_evaluations()
Thank you! Tested and confirmed.
Environment details
google-cloud-aiplatform
version: 1.28.0Steps to reproduce
Calling
ModelEvaluation.list
with just the project and the region causes it to throw an error, but none of the arguments are marked as required.Code example
Stack trace