def __getitem__(self, name): return gv.agget(self.handle,name)
def __getitem__(self, name): item=gv.agget(self.handle,name) if item is None: ah=gv.agattr(self.handle,self.type,name,None) item=gv.agattrdefval(ah) return item