code: def testSimpleSignature(self):
      int_checker = dispatch.MakeInstanceChecker(int)
      rt_checker = dispatch.MakeInstanceChecker(
          ragged_tensor.RaggedTensor
      )
      checker = dispatch.PySignatureChecker(
          [(0, int_checker), (2, rt_checker)]
      )
      rt = ragged_factory_ops.constant([[1, 2], [3]])
  
      self.check_signatures(
          checker,
          [
              ((1, 2, rt), True),
              ((1, 2, 3), False),
              ((1, 2), False),
              ((), False),
              ((5, "x", rt, None), True),
              (([5], "x", rt, None), False),
              ((5, "x", [rt], None), False),
          ],
      )  # pyformat: disable
  
      self.assertEqual(
          repr(checker),
          "<PySignatureChecker args[0]:int, args[2]:RaggedTensor>",
      )
  
imports: import collections
  import numpy
  from tensorflow.python.framework import _pywrap_python_api_dispatcher
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import tensor
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.ops.ragged import ragged_tensor
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 2 for calling the PythonSignatureCheckerTest obj's underlying member method code with example usage: obj.testSimpleSignature() without return types