Skip to content

fix: using location and project parsed from resource name#2788

Closed
racinmat wants to merge 1 commit intogoogleapis:mainfrom
racinmat:versioning-registry
Closed

fix: using location and project parsed from resource name#2788
racinmat wants to merge 1 commit intogoogleapis:mainfrom
racinmat:versioning-registry

Conversation

@racinmat
Copy link
Copy Markdown

@racinmat racinmat commented Oct 8, 2023

fix: using location and project parsed from resource name if not provided explicitly

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)
  • Get the necessary approvals
  • Once the last commit on the PR has been approved, add the "ready to pull" label to the Pull Request

Note: do not merge your PR from GitHub. Adding the "ready to pull" label is the final step in the review process.
After approvals, the changes in your PR will be committed to the main branch and this PR will be closed.

Fixes #2608 🦕

The whole problem is described in the issue.
I do not have rights to add labels, could you please label this PR as hacktoberfest-accepted?
Thanks.

@product-auto-label product-auto-label Bot added size: xs Pull request size is extra small. api: vertex-ai Issues related to the googleapis/python-aiplatform API. labels Oct 8, 2023
self.resource_name,
location=location,
project=project,
location=location or self.location,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution! Please update the unit tests to test this change.

@sasha-gitg sasha-gitg added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 9, 2023
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 9, 2023
@racinmat racinmat force-pushed the versioning-registry branch from 3f6904d to 6d79bd0 Compare October 10, 2023 11:13
@sasha-gitg sasha-gitg self-assigned this Oct 10, 2023
@matthew29tang
Copy link
Copy Markdown
Contributor

Closing due to inactivity.

@racinmat
Copy link
Copy Markdown
Author

racinmat commented Jul 1, 2025

I am using windows and I was not able to run the tests locally. Is there a simple way how to run them?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: vertex-ai Issues related to the googleapis/python-aiplatform API. size: xs Pull request size is extra small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect location for versioning registry when created from the fully qualified model name

4 participants