MCPcopy
hub / github.com/tgalal/yowsup / setAttribute

Method setAttribute

yowsup/structs/protocoltreenode.py:148–149  ·  view source on GitHub ↗
(self, key, value)

Source from the content-addressed store, hash-verified

146 del self.attributes[key]
147
148 def setAttribute(self, key, value):
149 self.attributes[key] = value
150
151 def getAllChildren(self,tag = None):
152 ret = []

Callers 15

toProtocolTreeNodeMethod · 0.95
__setitem__Method · 0.95
toProtocolTreeNodeMethod · 0.80
toProtocolTreeNodeMethod · 0.80
toProtocolTreeNodeMethod · 0.80
toProtocolTreeNodeMethod · 0.80
toProtocolTreeNodeMethod · 0.80
toProtocolTreeNodeMethod · 0.80
toProtocolTreeNodeMethod · 0.80
toProtocolTreeNodeMethod · 0.80
setUpMethod · 0.80
setUpMethod · 0.80

Calls

no outgoing calls

Tested by 6

setUpMethod · 0.64
setUpMethod · 0.64
setUpMethod · 0.64
setUpMethod · 0.64
setUpMethod · 0.64
setUpMethod · 0.64