Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions google/cloud/aiplatform/utils/gcs_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def generate_gcs_directory_for_pipeline_artifacts(
project: Optional[str] = None,
location: Optional[str] = None,
):
"""Gets or creates the GCS directory for Vertex Pipelines artifacts.
"""Gets or creates the GCS directory for pipelines artifacts.

Args:
project: Optional. Google Cloud Project that contains the staging bucket.
Expand All @@ -311,7 +311,7 @@ def create_gcs_bucket_for_pipeline_artifacts_if_it_does_not_exist(
location: Optional[str] = None,
credentials: Optional[auth_credentials.Credentials] = None,
):
"""Gets or creates the GCS directory for Vertex Pipelines artifacts.
"""Gets or creates the GCS directory for pipelines artifacts.

Args:
output_artifacts_gcs_dir: Optional. The GCS location for the pipeline outputs.
Expand Down Expand Up @@ -353,9 +353,7 @@ def create_gcs_bucket_for_pipeline_artifacts_if_it_does_not_exist(
)

if not pipelines_bucket.exists():
_logger.info(
f'Creating GCS bucket for Vertex Pipelines: "{pipelines_bucket.name}"'
)
_logger.info(f'Creating GCS bucket for pipelines: "{pipelines_bucket.name}"')
pipelines_bucket = storage_client.create_bucket(
bucket_or_name=pipelines_bucket,
project=project,
Expand Down
Loading