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

Method enum

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

Source from the content-addressed store, hash-verified

196 return ('restriction', 'any', 'list',)
197
198 def enum(self):
199 for child, ancestry in self.children():
200 if isinstance(child, Enumeration):
201 return True
202 return False
203
204 def mixed(self):
205 return len(self)

Callers 2

createMethod · 0.45
processMethod · 0.45

Calls 1

childrenMethod · 0.80

Tested by

no test coverage detected