def huge_node(node_prototype):
 image = DockerImage.from_string(u'postgresql')
 applications = {a.name: a for a in [Application(name=u'postgres-{}'.format(i), image=image) for i in range(_MANY_CONTAINERS)]}
 return node_prototype.set(applications=applications)

def huge_node ( node_prototype ) : image = DockerImage . from_string ( u'postgresql' ) applications = { a . name : a for a in [ Application ( name = u'postgres-{}' . format ( i ) , image = image ) for i in range ( _MANY_CONTAINERS ) ] } return node_prototype . set ( applications = applications )
return a node with many applications .