NamespaceModule¶
Canonical path: o6.ns.NamespaceModule
NamespaceModule
¶
Bases: ModuleType
A generated OPC UA namespace exposed as a normal Python module.
Reached by attribute on o6.ns, for example o6.ns.di, and returned by the
ns property of a NodeId,
ExpandedNodeId, or
QualifiedName. Namespace metadata sits directly on the
module, and the generated child modules datatypes, objtypes, vartypes,
reftypes, and instances hold the declarations.
Packaged namespaces load lazily: the module exists as soon as it is registered, and its generated source is imported on first attribute access.