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

Method getAttributeValue

yowsup/structs/protocoltreenode.py:138–142  ·  view source on GitHub ↗
(self,string)

Source from the content-addressed store, hash-verified

136 self.addChild(c)
137
138 def getAttributeValue(self,string):
139 try:
140 return self.attributes[string]
141 except KeyError:
142 return None
143
144 def removeAttribute(self, key):
145 if key in self.attributes:

Callers 15

__getitem__Method · 0.95
fromProtocolTreeNodeMethod · 0.80
fromProtocolTreeNodeMethod · 0.80
fromProtocolTreeNodeMethod · 0.80
fromProtocolTreeNodeMethod · 0.80
fromProtocolTreeNodeMethod · 0.80
fromProtocolTreeNodeMethod · 0.80
fromProtocolTreeNodeMethod · 0.80
fromProtocolTreeNodeMethod · 0.80
fromProtocolTreeNodeMethod · 0.80
fromProtocolTreeNodeMethod · 0.80
fromProtocolTreeNodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected