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

Method build

suds/xsd/schema.py:244–259  ·  view source on GitHub ↗

Build the schema (object graph) using the root node using the factory. - Build the graph. - Collate the children.

(self)

Source from the content-addressed store, hash-verified

242 return tuple(tns)
243
244 def build(self):
245 """
246 Build the schema (object graph) using the root node
247 using the factory.
248 - Build the graph.
249 - Collate the children.
250 """
251 self.children = BasicFactory.build(self.root, self)
252 collated = BasicFactory.collate(self.children)
253 self.children = collated[0]
254 self.attributes = collated[2]
255 self.imports = collated[1]
256 self.elements = collated[3]
257 self.types = collated[4]
258 self.groups = collated[5]
259 self.agrps = collated[6]
260
261 def merge(self, schema):
262 """

Callers 2

__init__Method · 0.95
loadMethod · 0.45

Calls 1

collateMethod · 0.80

Tested by

no test coverage detected