Iterates over all units

        Returns: generator of Unit

def units(self) -> typing.Iterator['BaseUnit']:
        """
        Iterates over all units

        Returns: generator of Unit
        """
        for group in self.groups:
            for unit in group.units:

                yield unit