GeneratorSubstitution¶ class xsdata.models.config.GeneratorSubstitution(type=None, search=None, replace=None)[source]¶ Search and replace substitution for a specific target type based on re.sub() Parameters type (Optional[ObjectType]) – The target object type search (Optional[str]) – The search string or a pattern object replace (Optional[str]) – The replacement string or pattern object __eq__(other)¶ Return self==value. __hash__ = None¶