code: def get_states(self, config_ids):
          
          return itertools.chain.from_iterable(self.generate_config_states(config_id)
                                               for config_id in config_ids)
docs: Generates state information for the selected containers.
  
          :param config_ids: List of MapConfigId tuples.
          :type config_ids: list[dockermap.map.input.MapConfigId]
          :return: Iterable of configuration states.
          :rtype: collections.Iterable[dockermap.map.state.ConfigState]