Skip to content

feat: Upgrade Tensorboard from v1beta1 to v1#849

Merged
sasha-gitg merged 3 commits into
googleapis:mainfrom
sasha-gitg:upgrade_tb_to_v1
Nov 18, 2021
Merged

feat: Upgrade Tensorboard from v1beta1 to v1#849
sasha-gitg merged 3 commits into
googleapis:mainfrom
sasha-gitg:upgrade_tb_to_v1

Conversation

@sasha-gitg
Copy link
Copy Markdown
Member

  • Added integration test for aiplatform.Tensorboard
  • b/206650730

@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Nov 17, 2021
@product-auto-label product-auto-label Bot added the api: aiplatform Issues related to the AI Platform API. label Nov 17, 2021
Comment thread google/cloud/aiplatform/compat/types/__init__.py
Copy link
Copy Markdown
Contributor

@morgandu morgandu left a comment

Choose a reason for hiding this comment

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

All changes look good, only have a question on Mock fail.

state=gca_job_state_compat.JobState.JOB_STATE_PENDING,
version="v1beta1",
)
create_custom_job_mock.side_effect = RuntimeError("Mock fail")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What is this "Mock fail" side effect for?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This seems to be git diff surfacing the change in a confusing way.

create_custom_job_mock_fail hasn't changed, reference line 263 on the previous version. It's used to test that we handle failure from the service.

create_custom_job_v1beta1_mock was changed to create_custom_job_mock_with_tensorboard above.

@sasha-gitg sasha-gitg merged commit c40ec85 into googleapis:main Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: aiplatform Issues related to the AI Platform API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants