class_docstr: Test of base registry.Registry class.
class_docstr_tok: ["Test","of","base","registry.Registry","class","."]
code: def testGet(self):
      r = registry.Registry(
          "test_registry", value_transformer=lambda k, v: v()
      )
      r["a"] = lambda: "xyz"
      self.assertEqual(r.get("a"), "xyz")
      self.assertEqual(r.get("a", 3), "xyz")
      self.assertIsNone(r.get("b"))
      self.assertEqual(r.get("b", 3), 3)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from tensor2tensor.utils import registry
  from tensor2tensor.utils import t2t_model
  import tensorflow.compat.v1
label_desc: Use image node_id 8 for calling the RegistryClassTest obj's underlying member method code with example usage: obj.testGet() without return types