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

Method dependencies

suds/xsd/sxbasic.py:250–262  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

248 return ('enumeration', 'attribute', 'attributeGroup')
249
250 def dependencies(self):
251 deps = []
252 midx = None
253 if self.ref is not None:
254 query = TypeQuery(self.ref)
255 super = query.execute(self.schema)
256 if super is None:
257 log.debug(self.schema)
258 raise TypeNotFound(self.ref)
259 if not super.builtin():
260 deps.append(super)
261 midx = 0
262 return (midx, deps)
263
264 def restriction(self):
265 return True

Callers

nothing calls this directly

Calls 5

executeMethod · 0.95
TypeQueryClass · 0.85
TypeNotFoundClass · 0.85
builtinMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected