code: def __init__(self):
      self.hooks = {}
      self.session_id = str(uuid.uuid4())
      self.is_mock_session = True
  
imports: import shutil
  import tempfile
  import typing
  import os
  import functools
  import unittest
  import uuid
  from pyspark import Row, SparkConf
  from pyspark.testing.utils import PySparkErrorTestUtils
  from pyspark.testing.sqlutils import have_pandas, pandas_requirement_message, pyarrow_requirement_message, SQLTestUtils
  from pyspark.sql.session import SparkSession
label_desc: Use image node_id 1 to create a new MockRemoteSession object  with example: obj = MockRemoteSession()