code: def get_all_names(chebi_ids):
      '''Returns all names'''
      all_names = [get_names(chebi_id) for chebi_id in chebi_ids]
      return [x for sublist in all_names for x in sublistf get_all_names(chebi_ids):
      '''Returns all names'''
      all_names = [get_names(chebi_id) for chebi_id in chebi_ids]
      return [x for sublist in all_names for x in sublist]
docs: Returns all names