def register_mapping_type(cls):
    _search_mapping_types[cls.get_mapping_type_name()] = cls
    return cls
Class decorator for registering MappingTypes for search
dataset/ETHPy150Open mozilla/kitsune/kitsune/search/models.py/register_mapping_type