Skip to content

Commit d2c79a2

Browse files
committed
Remove trailing whitespaces
1 parent 035238c commit d2c79a2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/datastructures.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Datastructures
55
Creating objects
66
----------------
77

8-
Most of the times you need to pass nested data to the soap client. These
8+
Most of the times you need to pass nested data to the soap client. These
99
Complex types can be retrieved using the :meth:`client.get_type` method.
1010

1111
.. code-block:: python
@@ -20,7 +20,7 @@ Complex types can be retrieved using the :meth:`client.get_type` method.
2020
2121
However instead of creating an object from a type defined in the XSD you can
2222
also 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
4141
retrieve the type class and then instantiating them can be a bit verbose. To
4242
simplify this you can use a factory object.
4343

@@ -61,10 +61,10 @@ xsd:choice
6161
Mapping the semantics of xsd:choice elements to code is unfortunately pretty
6262
difficult. 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,7 +149,7 @@ 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
152+
Zeep offers full support for xsd:any elements. xsd:any elements are used as
153153
a kind of wildcard and basically allows any element to be used. Zeep needs to
154154
know the element name you want to serialize, so the value needs to be wrapped
155155
in a special object. This is the :class:`~zeep.xsd.AnyObject`. It takes two parameters, the
@@ -188,7 +188,7 @@ 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
192192
calling an operation. If you want to force a value to be ignored and left out
193193
of the generated XML then you can assign the :const:`zeep.xsd.SkipValue` constant.
194194

0 commit comments

Comments
 (0)