code: def mock_session():
      return mock.Mock()
  
file_path: sagemaker-python-sdk/tests/unit/test_experiments_analytics.py
imports: from __future__ import absolute_import
  import mock
  import pytest
  import pandas
  from collections import OrderedDict
  from sagemaker.analytics import ExperimentAnalytics
label_desc: Use image node_id 1 for calling a global function with example usage: mock_session() and returns: mock