code: def get_groups_data(self, groups):
          '''
          Gets aggregated data from a list of groups. Vars are collected in order so, for
          any groups which define the same var twice, the last group's value will hold.
          '''
  
          data = {}
  
          for group in groups:
              data.update(self.get_group_data(group))
  
          return datf get_groups_data(self, groups):
          '''
          Gets aggregated data from a list of groups. Vars are collected in order so, for
          any groups which define the same var twice, the last group's value will hold.
          '''
  
          data = {}
  
          for group in groups:
              data.update(self.get_group_data(group))
  
          return data
docs: Gets aggregated data from a list of groups. Vars are collected in order so, for
          any groups which define the same var twice, the last group's value will hold.