MCPcopy Create free account
hub / github.com/sissaschool/xmlschema / multi_sequence

Method multi_sequence

xmlschema/extras/codegen.py:559–563  ·  view source on GitHub ↗
(xsd_type)

Source from the content-addressed store, hash-verified

557 @staticmethod
558 @test_method
559 def multi_sequence(xsd_type):
560 try:
561 return any(e.is_multiple() for e in xsd_type.content.iter_elements())
562 except AttributeError:
563 return False
564
565
566class PythonGenerator(AbstractGenerator):

Callers 1

test_multi_sequenceMethod · 0.80

Calls 2

is_multipleMethod · 0.80
iter_elementsMethod · 0.80

Tested by 1

test_multi_sequenceMethod · 0.64