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 (ObjectType) – The target object type

  • search (str) – The search string or a pattern object

  • replace (str) – The replacement string or pattern object

__eq__(other)

Return self==value.

__hash__ = None