code: def sagemaker_session():
      boto_session = Mock()
      boto_session.client("scheduler").return_value = Mock()
      return Mock(Session, boto_session=boto_session)
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/feature_store/feature_processor/test_event_bridge_scheduler_helper.py
imports: from __future__ import absolute_import
  from datetime import datetime
  import pytest
  from botocore.exceptions import ClientError
  from sagemaker.feature_store.feature_processor._event_bridge_scheduler_helper import EventBridgeSchedulerHelper
  from mock import Mock
  from sagemaker.session import Session
label_desc: Use image node_id 1 for calling a global function with example usage: sagemaker_session() and returns: Mock