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

Method open_imports

suds/xsd/schema.py:297–311  ·  view source on GitHub ↗

Instruct all contained L{sxbasic.Import} children to import the schema's which they reference. The contents of the imported schema are I{merged} in. @param options: An options dictionary. @type options: L{options.Options}

(self, options)

Source from the content-addressed store, hash-verified

295 return self
296
297 def open_imports(self, options):
298 """
299 Instruct all contained L{sxbasic.Import} children to import
300 the schema's which they reference. The contents of the
301 imported schema are I{merged} in.
302 @param options: An options dictionary.
303 @type options: L{options.Options}
304 """
305 for imp in self.imports:
306 imported = imp.open(options)
307 if imported is None:
308 continue
309 imported.open_imports(options)
310 log.debug('imported:\n%s', imported)
311 self.merge(imported)
312
313 def dereference(self):
314 """

Callers 2

__init__Method · 0.95
loadMethod · 0.45

Calls 2

mergeMethod · 0.95
openMethod · 0.45

Tested by

no test coverage detected