def subgroups(self, local=False, recurse=False, include_self=False):
        return self.subsystems(local=local, recurse=recurse, typ=Group,
                               include_self=include_self)
Returns
dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/core/group.py/Group.subgroups