def get_units_from_category(self, category: str) -> 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>
Gets all units from a category

Args:
    category: category

Returns: generator of BaseUnit