Skip to content

Commit

Permalink
Remove redundant code for getting SageMaker session
Browse files Browse the repository at this point in the history
  • Loading branch information
htahir1 committed Dec 23, 2024
1 parent 8811f3f commit 44fa6c5
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,6 @@ def prepare_or_run_pipeline(
Yields:
A dictionary of metadata related to the pipeline run.
"""
# Get the session and client
session = self._get_sagemaker_session()

# sagemaker requires pipelineName to use alphanum and hyphens only
unsanitized_orchestrator_run_name = get_orchestrator_run_name(
pipeline_name=deployment.pipeline_configuration.name
Expand Down

0 comments on commit 44fa6c5

Please sign in to comment.