MCPcopy Create free account
hub / github.com/sissaschool/xmlschema / __init__

Method __init__

xmlschema/dataobjects.py:447–450  ·  view source on GitHub ↗
(cls, name: str, bases: tuple[type[Any], ...], attrs: dict[str, Any])

Source from the content-addressed store, hash-verified

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',

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected