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

Method keys

suds/properties.py:365–384  ·  view source on GitHub ↗

Get the set of I{all} property names. @param history: A history of nodes checked to prevent circular hunting. @type history: [L{Properties},..] @return: A set of property names. @rtype: list

(self, history=None)

Source from the content-addressed store, hash-verified

363 return self
364
365 def keys(self, history=None):
366 """
367 Get the set of I{all} property names.
368 @param history: A history of nodes checked to prevent
369 circular hunting.
370 @type history: [L{Properties},..]
371 @return: A set of property names.
372 @rtype: list
373 """
374 if history is None:
375 history = []
376 history.append(self)
377 keys = set()
378 keys.update(self.definitions.keys())
379 for x in self.links:
380 if x in history:
381 continue
382 keys.update(x.keys(history))
383 history.remove(self)
384 return keys
385
386 def domains(self, history=None):
387 """

Callers 4

translate_sectionsFunction · 0.45
simulationMethod · 0.45
validateMethod · 0.45
autoblendMethod · 0.45

Calls 4

removeMethod · 0.80
setFunction · 0.50
appendMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected