diff --git a/src/sagemaker/local/entities.py b/src/sagemaker/local/entities.py index 0cf6c6d55a..af74e58179 100644 --- a/src/sagemaker/local/entities.py +++ b/src/sagemaker/local/entities.py @@ -680,7 +680,7 @@ def start(self, **kwargs): """Start a pipeline execution. Returns a _LocalPipelineExecution object.""" from sagemaker.local.pipeline import LocalPipelineExecutor - execution_id = str(uuid4()) + execution_id = str(uuid4()).replace('-', '')[:12] execution = _LocalPipelineExecution( execution_id=execution_id, pipeline=self.pipeline,