def new_nodes()

in src/hpc/autoscale/node/nodemanager.py [0:0]


    def new_nodes(self) -> List[Node]:
        return [
            n
            for n in self.get_nodes()
            if not n.exists
            and n.state != "Stopping"
            and not (n.state == "Deallocated" and not n._allocated)
        ]