Ejemplo n.º 1
0
 def __init__(self, iotype, client, rpath):
     VarTreeMixin.__init__(self, iotype, client, rpath)
     VariableTree.__init__(self, iotype=iotype)
     self.__doc__ = client.get(rpath+'.description')
     xml = client.get(rpath)
     populate_from_xml(self, xml)
     self._dirty = False
Ejemplo n.º 2
0
 def __init__(self, iotype, client, rpath):
     VarTreeMixin.__init__(self, iotype, client, rpath)
     desc = client.get(rpath + '.description')
     VariableTree.__init__(self, doc=desc, iotype=iotype)
     xml = client.get(rpath)
     populate_from_xml(self, xml)
     self._dirty = False