def get_units_from_category(self, category) -> typing.Iterator['<STR_LIT>']:
Mission.validator_group_category.validate(category, '<STR_LIT>')<EOL>for unit in self.units:<EOL><INDENT>if unit.group_category == category:<EOL><INDENT>yield unit<EOL><DEDENT><DEDENT>
Args:
    category: unit category

Returns: generator over all units of a specific category in this coalition