def environments(self, **kwargs):
        return self._query('environments', **kwargs)
Get all known environments from Puppetdb.
dataset/ETHPy150Open voxpupuli/pypuppetdb/pypuppetdb/api/__init__.py/BaseAPI.environments