def node(self, name):
        nodes = self.nodes(path=name)
        return next(node for node in nodes)
Gets a single node from PuppetDB.
dataset/ETHPy150Open voxpupuli/pypuppetdb/pypuppetdb/api/__init__.py/BaseAPI.node