@@ -5,8 +5,8 @@ Datastructures
55Creating objects
66----------------
77
8- Most of the times you need to pass nested data to the soap client. These
9- Complex types can be retrieve using the :meth: `client.get_type ` method.
8+ Most of the times you need to pass nested data to the soap client. These
9+ Complex types can be retrieved using the :meth: `client.get_type ` method.
1010
1111.. code-block :: python
1212
@@ -20,7 +20,7 @@ Complex types can be retrieve using the :meth:`client.get_type` method.
2020
2121 However instead of creating an object from a type defined in the XSD you can
2222also pass in a dictionary. Zeep will automatically convert this dict to the
23- required object (and nested child objects) during the call.
23+ required object (and nested child objects) during the call.
2424
2525
2626.. code-block :: python
@@ -37,7 +37,7 @@ required object (and nested child objects) during the call.
3737 Using factories
3838---------------
3939
40- When you need to create multiple types the :meth: `Client.get_type() ` calls to
40+ When you need to create multiple types the :meth: `Client.get_type() ` calls to
4141retrieve the type class and then instantiating them can be a bit verbose. To
4242simplify this you can use a factory object.
4343
@@ -61,10 +61,10 @@ xsd:choice
6161Mapping the semantics of xsd:choice elements to code is unfortunately pretty
6262difficult. Zeep tries to solve this using two methods:
6363
64- 1. Accepting the elements in the xsd:choice element as kwargs. This only
64+ 1. Accepting the elements in the xsd:choice element as kwargs. This only
6565 works for simple xsd:choice definitions.
6666 2. Using the special kwarg ``_value_N `` where the N is the number of the
67- choice in the parent type. This method allows you to pass a list of
67+ choice in the parent type. This method allows you to pass a list of
6868 dicts (when maxOccurs != 1) or a dict directly.
6969
7070
@@ -149,11 +149,11 @@ Nested list using _value_1
149149 Any objects
150150-----------
151151
152- Zeep offers full support for xsd:any elements. xsd: any elements are used as
153- a kind of wildcard and basically allows any element to be used. Zeep needs to
152+ Zeep offers full support for xsd:any elements. xsd: any elements are used as a
153+ kind of wildcard and basically allows any element to be used. Zeep needs to
154154know the element name you want to serialize, so the value needs to be wrapped
155- in a special object. This is the :class: `~zeep.xsd.AnyObject `. It takes two parameters, the
156- xsd Element first and the value as the second arg.
155+ in a special object. This is the :class: `~zeep.xsd.AnyObject `. It takes two
156+ parameters, the xsd Element first and the value as the second arg.
157157
158158.. code-block :: python
159159
@@ -188,9 +188,10 @@ to the AnyObject an xsd type is passed.
188188 SkipValue
189189---------
190190
191- Zeep will automatically validate that all the required values are set when
191+ Zeep will automatically validate that all the required values are set when
192192calling an operation. If you want to force a value to be ignored and left out
193- of the generated XML then you can assign the :const: `zeep.xsd.SkipValue ` constant.
193+ of the generated XML then you can assign the :const: `zeep.xsd.SkipValue `
194+ constant.
194195
195196
196197.. code-block :: python
0 commit comments