def get_nodes_by_hashes(self, node_hashes: List[str]) -> List[Node]:
        """Look up several nodes by their hashes."""
        return self.session.query(Node).filter(Node.sha512.in_(node_hashes)).all()
Look up several nodes by their hashes.