raiseTypeError(f"namespace must be of type str or int, but is of type {type(namespace).__name__}")
self.obj=self.client.get_objects_node()
self.check_nodes()
...
...
@@ -135,6 +132,9 @@ class OPCUAConnection(CommClient):
else:
raiseException("OPC-ua mapping requires either a list of the path or dict with the path. Was given %s type containing: %s",type(annotation),annotation)
# prepend namespace index for each element if none is given