(cls, name: str, bases: tuple[type[Any], ...], attrs: dict[str, Any])
| 445 | return super().__new__(mcs, name, bases, attrs) |
| 446 | |
| 447 | def __init__(cls, name: str, bases: tuple[type[Any], ...], attrs: dict[str, Any]) -> None: |
| 448 | super().__init__(name, bases, attrs) |
| 449 | cls.xsd_version = cls.xsd_element.xsd_version |
| 450 | cls.namespace = cls.xsd_element.target_namespace |
| 451 | |
| 452 | def fromsource(cls, source: Union[XMLSourceType, XMLResource], |
| 453 | allow: str = 'all', defuse: str = 'remote', |