def check_stack_depends(name):
 def check(n, filename):
  nodes = get_nodes_by_name(n, name)
  depends = [e.attributes for e in nodes]
  packages = [d['stack'].value for d in depends]
  return [StackDepend(p) for p in packages]
 return check

def check_stack_depends ( name ) : def check ( n , filename ) : nodes = get_nodes_by_name ( n , name ) depends = [ e . attributes for e in nodes ] packages = [ d [ 'stack' ] . value for d in depends ] return [ StackDepend ( p ) for p in packages ] return check
validator for stack depends .