def node(ownerName, nodeName, *args, **kwargs): global theNode #trace("IOT.node") n = Node.create(nodeName, ownerName=ownerName, *args, **kwargs) theNode = n return n
def create(ownerName, nodeName, *args, **kwargs): """Create a new Node""" return Node.create(nodeName, ownerName=ownerName, *args, **kwargs)