We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6332d33 commit 062e051Copy full SHA for 062e051
1 file changed
google/cloud/aiplatform/models.py
@@ -5240,8 +5240,8 @@ def __init__(
5240
# Create ModelRegistry with the unversioned resource name
5241
self._registry = ModelRegistry(
5242
self.resource_name,
5243
- location=location,
5244
- project=project,
+ location=location or self.location,
+ project=project or self.project,
5245
credentials=credentials,
5246
)
5247
0 commit comments