code: def test_script_processor_with_no_inputs_or_outputs(
      sagemaker_session, image_uri, cpu_instance_type
  ):
      script_processor = ScriptProcessor(
          role=ROLE,
          image_uri=image_uri,
          command=["python3"],
          instance_count=1,
          instance_type=cpu_instance_type,
          volume_size_in_gb=100,
          volume_kms_key=None,
          max_runtime_in_seconds=3600,
          base_job_name="test-script-processor-with-no-inputs-or-outputs",
          env={"DUMMY_ENVIRONMENT_VARIABLE": "dummy-value"},
          tags=[{"Key": "dummy-tag", "Value": "dummy-tag-value"}],
          sagemaker_session=sagemaker_session,
      )
  
      script_processor.run(
          code=os.path.join(DATA_DIR, "dummy_script.py"),
          arguments=["-v"],
          wait=True,
          logs=True,
      )
  
      job_description = script_processor.latest_job.describe()
  
      assert (
          job_description["ProcessingInputs"][0]["InputName"] == "code"
      )
  
      assert job_description["ProcessingJobName"].startswith(
          "test-script-processor-with-no-inputs"
      )
  
      assert job_description["ProcessingJobStatus"] == "Completed"
  
      assert (
          job_description["ProcessingResources"]["ClusterConfig"][
              "InstanceCount"
          ]
          == 1
      )
      assert (
          job_description["ProcessingResources"]["ClusterConfig"][
              "InstanceType"
          ]
          == cpu_instance_type
      )
      assert (
          job_description["ProcessingResources"]["ClusterConfig"][
              "VolumeSizeInGB"
          ]
          == 100
      )
  
      assert job_description["AppSpecification"][
          "ContainerArguments"
      ] == ["-v"]
      assert job_description["AppSpecification"][
          "ContainerEntrypoint"
      ] == [
          "python3",
          "/opt/ml/processing/input/code/dummy_script.py",
      ]
      assert (
          job_description["AppSpecification"]["ImageUri"] == image_uri
      )
  
      assert job_description["Environment"] == {
          "DUMMY_ENVIRONMENT_VARIABLE": "dummy-value"
      }
  
      assert ROLE in job_description["RoleArn"]
  
      assert job_description["StoppingCondition"] == {
          "MaxRuntimeInSeconds": 3600
      }
  
      job_from_name = ProcessingJob.from_processing_name(
          sagemaker_session=sagemaker_session,
          processing_job_name=job_description["ProcessingJobName"],
      )
      job_description = job_from_name.describe()
  
      assert (
          job_description["ProcessingInputs"][0]["InputName"] == "code"
      )
  
      assert job_description["ProcessingJobName"].startswith(
          "test-script-processor-with-no-inputs"
      )
  
      assert job_description["ProcessingJobStatus"] == "Completed"
  
      assert (
          job_description["ProcessingResources"]["ClusterConfig"][
              "InstanceCount"
          ]
          == 1
      )
      assert (
          job_description["ProcessingResources"]["ClusterConfig"][
              "InstanceType"
          ]
          == cpu_instance_type
      )
      assert (
          job_description["ProcessingResources"]["ClusterConfig"][
              "VolumeSizeInGB"
          ]
          == 100
      )
  
      assert job_description["AppSpecification"][
          "ContainerArguments"
      ] == ["-v"]
      assert job_description["AppSpecification"][
          "ContainerEntrypoint"
      ] == [
          "python3",
          "/opt/ml/processing/input/code/dummy_script.py",
      ]
      assert (
          job_description["AppSpecification"]["ImageUri"] == image_uri
      )
  
      assert job_description["Environment"] == {
          "DUMMY_ENVIRONMENT_VARIABLE": "dummy-value"
      }
  
      assert ROLE in job_description["RoleArn"]
  
      assert job_description["StoppingCondition"] == {
          "MaxRuntimeInSeconds": 3600
      }
  
imports: from __future__ import absolute_import
  import os
  import pytest
  from botocore.config import Config
  from sagemaker import image_uris, Session
  from sagemaker.dataset_definition.inputs import DatasetDefinition, RedshiftDatasetDefinition, AthenaDatasetDefinition, S3Input
  from sagemaker.network import NetworkConfig
  from sagemaker.processing import ProcessingInput, ProcessingOutput, ScriptProcessor, Processor, ProcessingJob, FeatureStoreOutput
  from sagemaker.sklearn.processing import SKLearnProcessor
  from tests.integ import DATA_DIR
  from tests.integ.kms_utils import get_or_create_kms_key
label_desc: Use image node_id 11 for calling a global function with example usage: test_script_processor_with_no_inputs_or_outputs(sagemaker_session, image_uri, cpu_instance_type) without return types