MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / __setattr__

Method __setattr__

monai/bundle/workflows.py:194–198  ·  view source on GitHub ↗
(self, name, value)

Source from the content-addressed store, hash-verified

192 return self.__getattribute__(name) # getting regular attribute
193
194 def __setattr__(self, name, value):
195 if name != "properties" and self.properties is not None and name in self.properties:
196 self._set_property(name=name, property=self.properties[name], value=value)
197 else:
198 super().__setattr__(name, value) # setting regular attribute
199
200 def get_workflow_type(self):
201 """

Callers

nothing calls this directly

Calls 1

_set_propertyMethod · 0.95

Tested by

no test coverage detected