code: def test_create_describe_update_pipeline():
      parameter = ParameterString("MyStr", default_value="test")
      pipeline = Pipeline(
          name="MyPipeline",
          parameters=[parameter],
          steps=[CustomStep(name="MyStep", input_data=parameter)],
          sagemaker_session=LocalSession(),
      )
      definition = pipeline.definition()
      pipeline.create("dummy-role", "pipeline-description")
  
      pipeline_describe_response1 = pipeline.describe()
      assert pipeline_describe_response1["PipelineArn"] == "MyPipeline"
      assert (
          pipeline_describe_response1["PipelineDefinition"]
          == definition
      )
      assert (
          pipeline_describe_response1["PipelineDescription"]
          == "pipeline-description"
      )
  
      pipeline = Pipeline(
          name="MyPipeline",
          parameters=[parameter],
          steps=[
              CustomStep(name="MyStepUpdated", input_data=parameter)
          ],
          sagemaker_session=LocalSession(),
      )
      updated_definition = pipeline.definition()
      pipeline.update("dummy-role", "pipeline-description-2")
      pipeline_describe_response2 = pipeline.describe()
      assert (
          pipeline_describe_response2["PipelineDescription"]
          == "pipeline-description-2"
      )
      assert (
          pipeline_describe_response2["PipelineDefinition"]
          == updated_definition
      )
      assert (
          pipeline_describe_response2["CreationTime"]
          != pipeline_describe_response2["LastModifiedTime"]
      )
  
imports: from __future__ import absolute_import
  import jsonschema
  import pytest
  import urllib3
  import os
  from botocore.exceptions import ClientError
  from mock import Mock, patch
  from tests.unit import DATA_DIR, SAGEMAKER_CONFIG_SESSION
  import sagemaker
  from sagemaker.workflow.parameters import ParameterString
  from sagemaker.workflow.pipeline import Pipeline
  from tests.unit.sagemaker.workflow.helpers import CustomStep
  from sagemaker.local.local_session import LocalSession
  from sagemaker.local.entities import _LocalPipelineExecution
label_desc: Use image node_id 33 for calling a global function with example usage: test_create_describe_update_pipeline() without return types