MCPcopy Create free account
hub / github.com/Kitware/ParaView / xml

Method xml

Wrapping/Python/paraview/detail/pythonalgorithm.py:167–173  ·  view source on GitHub ↗

Decorator that be used to directly add a ServerManager property XML for a method.

(xmlstr)

Source from the content-addressed store, hash-verified

165
166 @staticmethod
167 def xml(xmlstr):
168 """Decorator that be used to directly add a ServerManager property XML for a method."""
169
170 def generate(func, attrs):
171 smproperty._append_xml(func, xmlstr)
172
173 return _create_decorator(generate_xml_func=generate)
174
175 @staticmethod
176 def intvector(**kwargs):

Callers

nothing calls this directly

Calls 1

_create_decoratorFunction · 0.85

Tested by

no test coverage detected