File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,12 +105,11 @@ Nested using _value_1
105105 targetNamespace =" http://tests.python-zeep.org/" >
106106 <element name =' ElementName' >
107107 <complexType xmlns : xsd =" http://www.w3.org/2001/XMLSchema" >
108- <choice maxOccurs =" unbounded " >
108+ <choice maxOccurs =" 1 " >
109109 <sequence >
110110 <element name =" item_1_a" type =" string" />
111111 <element name =" item_1_b" type =" string" />
112112 </sequence >
113- <element name =" item_2" type =" string" />
114113 </choice >
115114 </complexType >
116115 </element >
@@ -144,7 +143,7 @@ Nested list using _value_1
144143 .. code-block :: python
145144
146145 element = client.get_element(' ns0:ElementName' )
147- obj = element(_value_1 = [{' item_1' : ' foo' }, {' item_2' : ' bar' })
146+ obj = element(_value_1 = [{' item_1' : ' foo' }, {' item_2' : ' bar' }] )
148147
149148
150149 Any objects
You can’t perform that action at this time.
0 commit comments