def node(self, name):
nodes = self.nodes(path=name)<EOL>return next(node for node in nodes)<EOL>
Gets a single node from PuppetDB.

        :param name: The name of the node search.
        :type name: :obj:`string`

        :return: An instance of Node
        :rtype: :class:`pypuppetdb.types.Node`