code: def dependencies(self, images):
          
          for dep in self.commands.dependent_images:
              if not isinstance(dep, six.string_types):
                  yield dep.name
  
          for image, _ in self.dependency_images():
              yield image
docs: Yield just the dependency images