code: def register_type(self, type, builder):
      if self.parent:
          return self.parent.register_type(type, builder)
  
      self.types_count[type] += 1
      if type not in self.types_builders:
          self.types_builders[type] = builder
  
imports: from __future__ import absolute_import
  from collections import defaultdict
  import six
  from .None import errors
  from .fields import NotSet
label_desc: Use image node_id 3 for calling the Builder obj's underlying member method code with example usage: obj.register_type(type, builder) and returns: self