Skip to content

fix: Pass the PipelineJob credentials to create_gcs_bucket_for_pipeline_artifacts_if_it_does_not_exist#1537

Merged
sararob merged 2 commits into
googleapis:mainfrom
Ark-kun:fix--Pass-the-PipelineJob-credentials-to-create_gcs_bucket_for_pipeline_artifacts_if_it_does_not_exist
Jul 25, 2022
Merged

fix: Pass the PipelineJob credentials to create_gcs_bucket_for_pipeline_artifacts_if_it_does_not_exist#1537
sararob merged 2 commits into
googleapis:mainfrom
Ark-kun:fix--Pass-the-PipelineJob-credentials-to-create_gcs_bucket_for_pipeline_artifacts_if_it_does_not_exist

Conversation

@Ark-kun
Copy link
Copy Markdown
Contributor

@Ark-kun Ark-kun commented Jul 22, 2022

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)

Fixes #<issue_number_goes_here> 🦕

@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 Jul 22, 2022
@sararob sararob self-requested a review July 22, 2022 19:49
Copy link
Copy Markdown
Contributor

@sararob sararob left a comment

Choose a reason for hiding this comment

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

Thanks for this! Could you also add a unit test for cases when aiplatform.init is not called before calling PipelineJob.submit()?

Comment thread google/cloud/aiplatform/pipeline_jobs.py
@Ark-kun
Copy link
Copy Markdown
Contributor Author

Ark-kun commented Jul 22, 2022

Thanks for this! Could you also add a unit test for cases when aiplatform.init is not called before calling PipelineJob.submit()?

What is the behavior that such test would needs to check?

Note that unit tests are executed without accessing any real infrastructure (GCS or PipelineService).

Comment thread google/cloud/aiplatform/pipeline_jobs.py
…ate_gcs_bucket_for_pipeline_artifacts_if_it_does_not_exist
@sararob sararob merged commit b53e2b5 into googleapis:main Jul 25, 2022
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.

2 participants