xsdata.utils.codegen module¶
-
class
xsdata.utils.codegen.
ClassUtils
[source]¶ Bases:
object
-
INCLUDES_NONE
= 0¶
-
INCLUDES_SOME
= 1¶
-
INCLUDES_ALL
= 2¶
-
classmethod
sanitize_attribute_sequence
(attrs, index)[source]¶ Reset the attribute at the given index if it has no siblings with the sequential restriction.
-
classmethod
sanitize_attribute_name
(attrs, index)[source]¶ Check if the attribute at the given index has a duplicate name and prepend if exists the attribute namespace.
-