MCPcopy Index your code
hub / github.com/ronreiter/interactive-tutorials / ordering

Method ordering

suds/builder.py:109–119  ·  view source on GitHub ↗

get the ordering

(self, type)

Source from the content-addressed store, hash-verified

107 return any(x.choice() for x in ancestry)
108
109 def ordering(self, type):
110 """ get the ordering """
111 result = []
112 for child, ancestry in type.resolve():
113 name = child.name
114 if child.name is None:
115 continue
116 if child.isattr():
117 name = '_%s' % child.name
118 result.append(name)
119 return result

Callers 2

buildMethod · 0.95
processMethod · 0.95

Calls 3

resolveMethod · 0.45
isattrMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected