code: def _make_entities_from_ids(entity_cls, entity_objs_and_ids, server_config):
      
      return [
          _make_entity_from_id(entity_cls, entity_or_id, server_config)
          for entity_or_id
          in entity_objs_and_ids
      ]
docs: Given an iterable of entities and/or IDs, return a list of entities.
  
      :param entity_cls: An :class:`Entity` subclass.
      :param entity_obj_or_id: An iterable of
          :class:`nailgun.entity_mixins.Entity` objects and/or entity IDs. All of
          the entities in this iterable should be of type ``entity_cls``.
      :returns: A list of ``entity_cls`` objects.