def _mpp_cluster_loader(self, path: str) -> Dict[int, Cluster]:
        """Load and build all PostgreSQL clusters from a single MPP cluster.

        :param path: the path in DCS where to load Cluster(s) from.

        :returns: all MPP groups as :class:`dict`, with group IDs as keys and :class:`Cluster` objects as values.
        """
        ret: Dict[int, Cluster] = {}
        for node in self.get_children(path):
            if self._mpp.group_re.match(node):
                ret[int(node)] = self._postgresql_cluster_loader(path + node + '/')
        return ret
Load and build all PostgreSQL clusters from a single MPP cluster.

        :param path: the path in DCS where to load Cluster(s) from.

        :returns: all MPP groups as :class:`dict`, with group IDs as keys and :class:`Cluster` objects as values.
        
patroni/dcs/zookeeper.py