MCPcopy Create free account
hub / github.com/Kitware/VTK / __getattr__

Method __getattr__

Web/Python/vtkmodules/web/query_data_model.py:150–156  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

148 self.data[name]["pattern"] = dataPattern
149
150 def __getattr__(self, name):
151 if self.basePattern == None:
152 self.updateBasePattern()
153
154 for i in range(len(self.arguments[name]["values"])):
155 self.current[name] = i
156 yield self.realValues[name][i]
157
158 def writeDataDescriptor(self):
159 if not self.can_write:

Callers

nothing calls this directly

Calls 2

updateBasePatternMethod · 0.95
rangeClass · 0.50

Tested by

no test coverage detected