code: def RegisterRecordType(cls, record_class):
          
  
          record_type = record_class.MatchType()
          if record_type not in UpdateRecord.KNOWN_CLASSES:
              UpdateRecord.KNOWN_CLASSES[record_type] = []
  
          UpdateRecord.KNOWN_CLASSES[record_type].append(record_class)
docs: Register a known record type in KNOWN_CLASSES.
  
          Args:
              record_class (UpdateRecord): An update record subclass.