def _generate_union_class_get_helpers(self, ns, data_type):<EOL>
for field in data_type.fields:<EOL><INDENT>field_name = fmt_func(field.name)<EOL>if not is_void_type(field.data_type):<EOL><INDENT>val_type = self.map_stone_type_to_pep484_type(ns, field.data_type)<EOL>self.emit('<STR_LIT>'.format(<EOL>field_name=field_name,<EOL>val_type=val_type,<EOL>))<EOL>self.emit()<EOL><DEDENT><DEDENT>
Generates the following section in the 'union Shape' example:
def get_circle(self) -> float: ...