Skip to content

Commit a915668

Browse files
Ark-kuncopybara-github
authored andcommitted
chore: Initializer - Added instructions to the error message to show the user how to set the project using gcloud.
Set the project using 'gcloud config set project my-project' PiperOrigin-RevId: 496824472
1 parent 7da4164 commit a915668

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

google/cloud/aiplatform/initializer.py

+1
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ def project(self) -> str:
207207
"Unable to find your project. Please provide a project ID by:"
208208
"\n- Passing a constructor argument"
209209
"\n- Using aiplatform.init()"
210+
"\n- Setting project using 'gcloud config set project my-project'"
210211
"\n- Setting a GCP environment variable"
211212
)
212213

0 commit comments

Comments
 (0)