def get_mapping_types(mapping_types=None):
 if (mapping_types is None):
  values = _search_mapping_types.values()
 else:
  values = [_search_mapping_types[name] for name in mapping_types]
 values.sort(key=(lambda cls: cls.get_mapping_type_name()))
 return values

def get_mapping_types ( mapping_types = None ) : if ( mapping_types is None ) : values = _search_mapping_types . values ( ) else : values = [ _search_mapping_types [ name ] for name in mapping_types ] values . sort ( key = ( lambda cls : cls . get_mapping_type_name ( ) ) ) return values
returns a list of mappingtypes .