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

Method instance

suds/xsd/schema.py:385–399  ·  view source on GitHub ↗

Create and return an new schema object using the specified I{root} and I{url}. @param root: A schema root node. @type root: L{sax.element.Element} @param baseurl: A base URL. @type baseurl: str @param options: An options dictionary. @t

(self, root, baseurl, options)

Source from the content-addressed store, hash-verified

383 return False
384
385 def instance(self, root, baseurl, options):
386 """
387 Create and return an new schema object using the
388 specified I{root} and I{url}.
389 @param root: A schema root node.
390 @type root: L{sax.element.Element}
391 @param baseurl: A base URL.
392 @type baseurl: str
393 @param options: An options dictionary.
394 @type options: L{options.Options}
395 @return: The newly created schema object.
396 @rtype: L{Schema}
397 @note: This is only used by Import children.
398 """
399 return Schema(root, baseurl, options)
400
401 def str(self, indent=0):
402 tab = '%*s' % (indent * 3, '')

Callers 2

downloadMethod · 0.80
downloadMethod · 0.80

Calls 1

SchemaClass · 0.85

Tested by

no test coverage detected