feat: Added aiplatform.Model.update method#952
Merged
ivanmkc merged 12 commits intogoogleapis:mainfrom Jan 24, 2022
Merged
Conversation
sasha-gitg
reviewed
Jan 11, 2022
ivanmkc
commented
Jan 13, 2022
79d31cb to
4a4a6b6
Compare
sasha-gitg
requested changes
Jan 19, 2022
Member
sasha-gitg
left a comment
There was a problem hiding this comment.
Please add or update an integration test to use this method:
An additional test case can be added here using the same model: https://github.com/googleapis/python-aiplatform/blob/main/tests/system/aiplatform/test_model_upload.py
It can also be added to this e2e test: https://github.com/googleapis/python-aiplatform/blob/main/tests/system/aiplatform/test_e2e_tabular.py
783b162 to
48459c8
Compare
Co-authored-by: sasha-gitg <[email protected]>
model.update methodaiplatform.Model.update method
gcf-merge-on-green bot
pushed a commit
that referenced
this pull request
Jan 27, 2022
Fixed bug in integration test introduced by #952
ivanmkc
added a commit
to ivanmkc/python-aiplatform
that referenced
this pull request
Jan 28, 2022
Fixed bug in integration test introduced by googleapis#952
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added ability to update
display_name,descriptionandlabels.Fixes https://b.corp.google.com/issues/213921337
TODO
Test code
Bug?
There's some weirdness going on with the eTags though. If I don't "refetch" the model from the server, I get an "etag mismatch" exception on the subsequent update.
Tracked at b/214432914