code: def transformer():
      return Mock(name=TRANSFORMER_NAME, region_name=REGION)
  
imports: from __future__ import absolute_import
  import time
  import pytest
  from mock import Mock, patch, call
  import stopit
  from botocore.exceptions import ClientError
  from sagemaker.session_settings import SessionSettings
  from tests.integ.timeout import timeout, timeout_and_delete_endpoint_by_name, timeout_and_delete_model_with_transformer
label_desc: Use image node_id 2 for calling a global function with example usage: transformer() and returns: Mock