def catalog(self, node):
        catalogs = self.catalogs(path=node)
        return next(x for x in catalogs)
Get the available catalog for a given node.
dataset/ETHPy150Open voxpupuli/pypuppetdb/pypuppetdb/api/__init__.py/BaseAPI.catalog