MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / object

Method object

suds/sudsobject.py:113–121  ·  view source on GitHub ↗
(cls, classname=None, dict={})

Source from the content-addressed store, hash-verified

111
112 @classmethod
113 def object(cls, classname=None, dict={}):
114 if classname is not None:
115 subclass = cls.subclass(classname, Object)
116 inst = subclass()
117 else:
118 inst = Object()
119 for a in dict.items():
120 setattr(inst, a[0], a[1])
121 return inst
122
123 @classmethod
124 def metadata(cls):

Callers 8

createMethod · 0.80
buildMethod · 0.80
processMethod · 0.80
translateMethod · 0.80
castMethod · 0.80
replycompositeMethod · 0.80
startMethod · 0.80
startMethod · 0.80

Calls 3

subclassMethod · 0.80
ObjectClass · 0.70
itemsMethod · 0.45

Tested by

no test coverage detected