code: def sagemaker_session():
      boto_session = Mock()
      boto_session.client("scheduler").return_value = Mock()
      return Mock(Session, boto_session=boto_session)
  
imports: from __future__ import absolute_import
  import copy
  import datetime
  from typing import Iterator, List
  import pytest
  from mock import call, patch, Mock
  from sagemaker import Session
  from sagemaker.feature_store.feature_processor._event_bridge_scheduler_helper import EventBridgeSchedulerHelper
  from sagemaker.feature_store.feature_processor._event_bridge_rule_helper import EventBridgeRuleHelper
  from sagemaker.feature_store.feature_processor.lineage.constants import TRANSFORMATION_CODE_STATUS_INACTIVE
  from sagemaker.lineage.context import Context
  from sagemaker.lineage.artifact import Artifact
  from test_constants import FEATURE_GROUP_DATA_SOURCE, FEATURE_GROUP_INPUT, LAST_UPDATE_TIME, PIPELINE, PIPELINE_ARN, PIPELINE_CONTEXT, PIPELINE_NAME, PIPELINE_VERSION_CONTEXT, RAW_DATA_INPUT, RAW_DATA_INPUT_ARTIFACTS, RESOURCE_NOT_FOUND_EXCEPTION, SAGEMAKER_SESSION_MOCK, SCHEDULE_ARTIFACT_RESULT, PIPELINE_TRIGGER_ARTIFACT, TRANSFORMATION_CODE_ARTIFACT_1, TRANSFORMATION_CODE_ARTIFACT_2, TRANSFORMATION_CODE_INPUT_1, TRANSFORMATION_CODE_INPUT_2, ARTIFACT_SUMMARY, ARTIFACT_RESULT
  from sagemaker.feature_store.feature_processor.lineage._feature_group_lineage_entity_handler import FeatureGroupLineageEntityHandler
  from sagemaker.feature_store.feature_processor.lineage._feature_processor_lineage import FeatureProcessorLineageHandler
  from sagemaker.feature_store.feature_processor.lineage._lineage_association_handler import LineageAssociationHandler
  from sagemaker.feature_store.feature_processor.lineage._pipeline_lineage_entity_handler import PipelineLineageEntityHandler
  from sagemaker.feature_store.feature_processor.lineage._pipeline_schedule import PipelineSchedule
  from sagemaker.feature_store.feature_processor.lineage._pipeline_trigger import PipelineTrigger
  from sagemaker.feature_store.feature_processor.lineage._pipeline_version_lineage_entity_handler import PipelineVersionLineageEntityHandler
  from sagemaker.feature_store.feature_processor.lineage._s3_lineage_entity_handler import S3LineageEntityHandler
  from sagemaker.lineage._api_types import AssociationSummary
label_desc: Use image node_id 1 for calling a global function with example usage: sagemaker_session() and returns: Mock