code: def test_processing_jobs(
      sagemaker_session,
      static_transform_job_trial_component,
      static_endpoint_context,
  ):
      processing_jobs_from_query = (
          static_endpoint_context.processing_jobs()
      )
      assert len(processing_jobs_from_query) > 0
      for processing_job in processing_jobs_from_query:
          assert "processing-job" in processing_job.trial_component_arn
          assert "ProcessingJob" in processing_job.source.get(
              "SourceType"
          )
  
file_path: sagemaker-python-sdk/tests/integ/sagemaker/lineage/test_endpoint_context.py
imports: from __future__ import absolute_import
  import time
  import pytest
label_desc: Use image node_id 7 for calling a global function with example usage: test_processing_jobs(sagemaker_session, static_transform_job_trial_component, static_endpoint_context) without return types