@property<EOL><INDENT>def all_fields(self):<DEDENT>
fields = []<EOL>if self.parent_type:<EOL><INDENT>fields.extend(self.parent_type.all_fields)<EOL><DEDENT>fields.extend([f for f in self.fields])<EOL>return fields<EOL>
Returns a list of all fields. Subtype fields come before this type's
fields.