code: def get_targets(self):
          
          if not hasattr(self, "_targets"):
              targets = []
              for target_def in self.config.targets or []:
                  target = Target(target_def)
                  targets.append(target)
              self._targets = targets
          return self._targets
docs: Returns the named targets that are specified in the config.
  
          Returns:
              list: a list of :class:`stacker.target.Target` objects