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 typesearch (
str) – The search string or a pattern objectreplace (
str) – The replacement string or pattern object
- __eq__(other)
Return self==value.
- __hash__ = None