Skip to content

o6.namespaces.RemoteNamespaces

Discovered server-side namespaces accessible after :meth:discover.

Call :meth:discover on a connected client to browse and build types for every namespace on the remote server that is not already loaded locally. Each discovered :class:Namespace is then stored as an attribute keyed by its short_name.

o6.namespaces.RemoteNamespaces

Discovered server-side namespaces accessible after :meth:discover.

Call :meth:discover on a connected client to browse and build types for every namespace on the remote server that is not already loaded locally. Each discovered :class:Namespace is then stored as an attribute keyed by its short_name.

Functions

get_namespace

get_namespace(key)

Look up a discovered Namespace by short name, URI, or namespace index.

Raises KeyError if no matching Namespace is found.

discover

discover()

Discover and register custom DataTypes from a connected server.

Browses the server's DataType hierarchy, reads DataTypeDefinition attributes, and builds Python type classes for every namespace that is not already loaded in this context.

Must be called on a client that is already connected. Returns a list of newly created Namespaces (one per discovered namespace).